saravanakumardb1
deff216c7e
refactor(gitea): robust manifest-based publish pipeline
...
publish-outdated-packages.sh rewritten:
- Manifest-based change detection (no registry tarball downloads)
- Single pack per package (not double-pack for check+publish)
- Deterministic content hash: normalizes version, publishConfig,
and @bytelyst/* dep versions (workspace:* resolution noise)
- Single metadata fetch per package (cached in-process)
- Fixed .npmrc overwrite bug that broke auth during publish phase
- npm_clean() helper strips all proxy env vars uniformly
release-packages.sh fixed:
- .npmrc now includes scoped registry + proxy=false for corp
- Unified corp/home publish path (no duplicated code)
- version_on_registry() uses proxy-stripped env
- Registry credential check uses proxy-stripped env
CI workflow: switched to publish-outdated-packages.sh --skip-build
2026-04-13 01:47:03 -07:00
saravanakumardb1
85bb860382
fix(gitea): fix publish auth — scoped registry + proxy=false in .npmrc
...
Root causes found:
1. publishConfig.registry in each package.json overrides --registry CLI
flag, causing npm to hit gitea.bytelyst.com through corp proxy.
2. Global ~/.npmrc proxy settings (NPM_CONFIG_PROXY env vars) route
localhost:3300 through the corporate proxy.
3. No .npmrc with auth token was created for npm publish to use.
Fix: generate a proper .npmrc in WORK_DIR with:
- _authToken for registry auth
- @bytelyst:registry scoped override (bypasses publishConfig)
- proxy=false + https-proxy=false on corp network
- Unified corp/home publish path (both use same .npmrc)
Token scope issue still open: current GITEA_NPM_TOKEN has read:package
but not write:package — needs regeneration in Gitea UI.
2026-04-13 00:21:13 -07:00
saravanakumardb1
54a06e227a
refactor(scripts): move 5 Gitea scripts into scripts/gitea/ subdirectory
...
Moved:
publish-local-gitea-packages.sh → gitea/publish-local-packages.sh
publish-outdated-gitea-packages.sh → gitea/publish-outdated-packages.sh
release-gitea-packages.sh → gitea/release-packages.sh
run-registry-tests.sh → gitea/run-registry-tests.sh
harden-publish-config.sh → gitea/harden-publish-config.sh
Dropped -gitea- infix (redundant with folder name).
Fixed in every moved script:
- REPO_ROOT: ../ → ../../ (one level deeper)
- Internal cross-reference comments
Updated all 10 referencing files:
- package.json (release script path)
- .gitea/workflows/ci.yml (publish step)
- 3 workflow .md files (publish-outdated usage)
- 3 devops docs (publish-local + registry-tests refs)
- 2 internal comment cross-references
2026-04-13 00:02:55 -07:00
saravanakumardb1
97c0ad9554
fix(scripts): add NETWORK-aware registry resolution to release script
...
release.sh → release-gitea-packages.sh:
1. Renamed to clearly describe purpose (Gitea npm package release, not
a generic release script).
2. Added NETWORK=corp/home detection matching publish-outdated-gitea-
packages.sh pattern:
- corp: localhost:3300 SSH tunnel + proxy env var stripping
- home: Azure VM directly via gitea.bytelyst.com or ~/.gitea_vm_host
3. Added ~/.gitea_npm_token file fallback (same as sibling scripts).
4. Corp publishes now strip HTTP_PROXY/HTTPS_PROXY/npm_config_proxy
env vars so npm reaches localhost tunnel directly instead of going
through the corporate proxy (which can't reach the tunnel).
5. Updated package.json 'release' script reference.
2026-04-12 23:56:19 -07:00
root
a7679de295
fix(release): reliable auth, per-package progress logs, clean commits
...
- Use shared ~/.npmrc via --userconfig for all npm view + publish calls
(inline --// flags are unreliable on npm v10+ for writes)
- Verify registry credentials upfront before any work begins
- Log each package status inline as scan runs (✓/⊘/→/✗) grouped by workspace
- Suppress noisy npm notice / pnpm progress output; surface only errors
- Move FAILED to its own tracked array; exit non-zero if any publish fails
- Restrict release commits to package.json / pnpm-lock.yaml / .changeset
(prevents node-compile-cache and other generated dirs being committed)
- Fix pagination bug in registry comparison (was only checking 50 packages)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 05:44:47 +00:00
root
4a0ceb17e3
chore: release version bumps [skip ci]
2026-04-13 05:00:19 +00:00
root
e2259f39ec
chore: release version bumps [skip ci]
2026-04-13 04:37:22 +00:00
root
39e48f3241
feat(llm): add FallbackLLMProvider + release pipeline script
...
- packages/llm: add FallbackLLMProvider (providers/fallback.ts) that
tries each provider in order, skipping unconfigured or erroring ones;
wire 'fallback' as a first-class LLMProviderType in factory + types
- packages/llm: improve auto-detection in factory — PERPLEXITY_API_KEY
and GEMINI_API_KEY trigger auto-selection when no explicit provider set
- scripts/release.sh: new pipeline — rebase from origin/main, build,
apply changesets, publish outdated packages to Gitea registry, push
- scripts/run-registry-tests.sh: fix Gitea URL health-check to use a
real package endpoint with auth header instead of bare registry root
- docs: mark Vercel track-B prompts B1–B3 as complete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 04:21:12 +00:00
saravanakumardb1
755b7fedea
feat(scripts): add publish-outdated-gitea-packages.sh
...
Network-aware script to detect and publish only outdated @bytelyst/*
packages to the Gitea npm registry.
Detection: SHA-256 content fingerprint comparison (local pack vs registry tarball)
Publishing: auto-bumps patch version to avoid collisions with existing versions
Network: NETWORK=corp uses localhost:3300 tunnel, NETWORK=home uses Azure VM
Features:
- --dry-run: detect without publishing
- --filter: check/publish a single package
- --skip-build: skip pnpm build step
- --help: usage info
- Strips publishConfig from tarballs (avoids hardcoded external domain)
- Runs npm publish from /tmp (avoids repo .npmrc scoped registry override)
- Corp: unsets all NPM_CONFIG_*/proxy env vars for localhost publish
2026-04-03 20:04:09 -07:00
705f58c5c5
chore(deploy): remove railway deployment artifacts
2026-04-03 17:05:15 -07:00
saravanakumardb1
53c3565874
fix(cowork-service): audit flush field name mismatch + server test mock gap
...
BUG: flush-scheduler.ts flushAudit() read 'events' from IPC response but
Rust handle_flush_audit() returns { count, entries }. Audit events were
silently lost (always empty array). Fixed to read 'entries'.
Also fixed:
- server.test.ts: added missing flush-scheduler.js mock (new import in server.ts)
- feature-flags.ts: doc comment '12 flags' → '13 flags'
- flush-scheduler.test.ts: mock data aligned to Rust response shape
49 tests passing, 8 test files, typecheck clean.
2026-04-02 23:02:38 -07:00
root
7f28c5b047
chore(script): fix registry verification
2026-03-31 11:43:35 +00:00
root
0c28231c3b
chore(script): add run-registry-tests
2026-03-31 11:37:03 +00:00
root
8b37189829
chore(registry): point packages to gitea.bytelyst.com
2026-03-31 10:53:13 +00:00
root
b1db0d583d
feat(dns): add ollama hostname support
2026-03-31 10:07:38 +00:00
e573e98cc1
docs(devops): add llmlab dns handoff
2026-03-31 02:32:01 -07:00
356c96e1d9
docs(devops): capture godaddy dns cutover and vm handoff
2026-03-31 02:25:58 -07:00
saravanakumardb1
c5458c4c0e
ci: update CI/CD configuration
2026-03-29 10:50:53 -07:00
saravanakumardb1
6f2572e90b
chore(ci): add local token drift check script
...
- Standalone script complementing the CI token-drift job
- Supports --fix mode to regenerate and stage changes
- Run: bash scripts/check-token-drift.sh
2026-03-28 01:01:06 -07:00
saravanakumardb1
409144a2ef
chore(scripts): add lint-infra, typecheck-all, test-all cross-repo scripts
2026-03-26 23:15:16 -07:00
saravanakumardb1
b6348fd4fe
fix(security): harden npm publish — add .npmrc + publishConfig to all 57 packages
...
- Created .npmrc with @bytelyst scoped registry pointing to local Gitea
- Added publishConfig.registry to all 57 @bytelyst/* package.json files
- Created scripts/harden-publish-config.sh for future re-runs
- Prevents accidental publish to npmjs.org or corporate JFrog registry
2026-03-26 21:51:05 -07:00
saravanakumardb1
911539f228
fix(workflows): support all repos in agent doc sync
2026-03-24 16:10:41 -07:00
saravanakumardb1
e8d145a130
fix(workflows): normalize repo management coverage
2026-03-24 16:05:12 -07:00
saravanakumardb1
f1793656f8
feat(scripts): make GITEA_NPM_HOST conditional on NETWORK
...
- NETWORK=corp → GITEA_NPM_HOST=localhost (local Gitea Docker)
- NETWORK=home → GITEA_NPM_HOST from ~/.gitea_vm_host (Azure VM)
- Fallback: localhost if ~/.gitea_vm_host doesn't exist
This enables all repo .npmrc files to use ${GITEA_NPM_HOST}:3300
instead of hardcoded localhost:3300, matching the existing
.npmrc.docker pattern used during Docker builds.
2026-03-24 15:45:59 -07:00
saravanakumardb1
6fbe8687ee
fix(scripts): switch-network.sh — add NO_PROXY + GITEA_NPM_TOKEN management
...
- Add NO_PROXY/no_proxy/NPM_CONFIG_NOPROXY=localhost,127.0.0.1 when
NETWORK=corp so local services (Gitea npm registry, Cosmos emulator,
Azurite) bypass the corporate proxy. Previously NO_PROXY was only set
in .zshrc line 5, making the script not self-contained.
- Add GITEA_NPM_TOKEN auto-load from ~/.gitea_npm_token file
(regardless of NETWORK). Reads are public, but publish needs the
token. This ensures local pnpm install resolves @bytelyst/* auth.
- Unset NO_PROXY/no_proxy/NPM_CONFIG_NOPROXY when NETWORK=home.
2026-03-24 15:36:46 -07:00
saravanakumardb1
64c9fc8afe
fix(docker): preserve peer deps in packed packages
2026-03-23 18:24:57 -07:00
saravanakumardb1
4687351de0
ci: update CI/CD configuration
2026-03-23 18:04:18 -07:00
saravanakumardb1
6d5450d9f7
fix(devops): derive gitea publish auth target from registry url
2026-03-23 15:52:29 -07:00
saravanakumardb1
7116749bbd
docs(devops): record local gitea registry rehearsal
2026-03-23 15:48:18 -07:00
saravanakumardb1
17a117f132
fix(docker): pack bytelyst consumer closure for prep
2026-03-22 15:51:17 -07:00
saravanakumardb1
22780b0e7e
fix(scripts): add tsconfig.json — fixes pnpm typecheck failure
...
The scripts/ workspace member had no tsconfig.json, so 'tsc --noEmit'
printed help text and exited 1, breaking 'pnpm typecheck' across the
entire monorepo.
2026-03-21 15:55:27 -07:00
saravanakumardb1
c252cfd198
feat(devops): encryption migration CLI with embedded product configs
...
- scripts/encrypt-migrate.ts — batch-encrypt existing plaintext Cosmos docs
- scripts/ added as pnpm workspace member for clean @bytelyst/* imports
- 10 product configs, 20 containers, 40+ fields
- --dry-run, --product, --container, --batch-size, --verbose flags
- Idempotent via __encrypted sentinel (migrateDocuments helper)
- Updated E2EE roadmap Sprint 6.2 as complete
2026-03-21 13:19:55 -07:00
saravanakumardb1
bb3f5385fc
feat(field-encrypt): create @bytelyst/field-encrypt package with AES-256-GCM envelope encryption
...
- 10 source files: types, aes-gcm, 3 key providers (memory/env/akv), envelope, key-cache, dek-store, guards, migration, factory
- 42 Vitest tests: AES-GCM roundtrips, tamper detection, unicode, 100KB payloads, key providers, DEK cache TTL/LRU, envelope lifecycle, migration (dry-run + idempotent), config validation
- AKV MEK creation script (scripts/create-encryption-keys.sh) for 10 product MEKs
- .env.example updated with FIELD_ENCRYPT_* vars
2026-03-21 09:18:10 -07:00
saravanakumardb1
6b63fda434
fix(kotlin-sdk): fix compile errors in kotlin-platform-sdk core components
...
- Fix MapSerializer/serializer imports in BLAuthClient, BLBlobClient, BLLicenseClient
- Add material-icons-extended dependency to build.gradle.kts
- Move 13 uncompiled files (UI, diagnostics, extended) to _deferred_ui/
(SurveyUI, BroadcastUI, BLAuthUI, DiagnosticsClient, NetworkInterceptor,
BreadcrumbTrail, DeviceStateCollector, DiagnosticsTypes, BLSurveyClient,
BLBroadcastClient, BLFeedbackClient, BLPasskeyManager, DeepLinkRouter)
- Move 2 broken test files to _deferred_ui/
- Core SDK compiles: 38/39 tests pass
- Unblocks all Android app builds (MindLyst, JarvisJr, LysnrAI, ChronoMind)
2026-03-19 17:01:34 -07:00
saravanakumardb1
710992e69f
docs: add corporate network/proxy setup (§9) to AGENTS.md + expand switch-network.sh header
2026-03-19 15:22:14 -07:00
saravanakumardb1
3ef40028ab
fix(gradle): add corporate proxy SSL truststore + Compose deps for kotlin-platform-sdk
...
- switch-network.sh: set GRADLE_OPTS with custom truststore when NETWORK=corp
- kotlin-platform-sdk: add repos to settings.gradle.kts for composite builds
- kotlin-platform-sdk: add Compose plugin + BOM + UI/Material3/Foundation deps
- kotlin-platform-sdk: use kotlinOptions (stable) instead of compilerOptions
2026-03-19 15:13:50 -07:00
root
a27a822fc2
Add prototype storage diagnostics and smoke test
2026-03-14 06:06:35 +00:00
root
a5e8890df2
Add Cosmos emulator prototype support
2026-03-14 05:24:01 +00:00
root
9e2fdb9643
Add prototype deployment workflow
2026-03-14 05:01:09 +00:00
saravanakumardb1
9a00fbd86a
fix(workflow): add FlowMonk to agent-doc generator
2026-03-10 23:35:29 -07:00
saravanakumardb1
38653bd9ec
ci: update CI/CD configuration
2026-03-10 11:32:25 -07:00
6d6ca217a5
chore(devops): improve railway deploy script, add env sync and deployment runbook
...
- Refactor railway-deploy.sh: add --sync-env, --dry-run, --detach flags and service selector
- Add railway-sync-env.sh for pre-deploy environment variable synchronization
- Add RAILWAY_DEPLOYMENT_RUNBOOK.md with step-by-step deployment guide
Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-05 20:03:59 -08:00
saravanakumardb1
7e47151918
fix(mcp-server): 3 A2A pipeline bug fixes from audit
...
- nomgap-client: add electrolyte_reminder + extended_fast_warning to PushTriggerType; rename scheduledAt → scheduledFor to match backend schema; fix startedAt type string → number (backend stores epoch ms)
- nomgap-tools: rename scheduledAt → scheduledFor in nomgap.push.fire tool schema + execute call
- safety-monitor-pipeline: fix FastStateResult.startedAt type number; use epoch ms directly instead of new Date(string)
- sync-diagnostics-pipeline: remove peakpulseGetStats (returns aggregate stats not sync queue); derive queueDepth from recentFailureCount telemetry; add lastSuccessfulSync derivation from events
2026-03-05 14:54:21 -08:00
saravanakumardb1
458d835e5a
ci: update CI/CD configuration
2026-03-03 12:08:22 -08:00
saravanakumardb1
1cba69948f
feat(ai-diagnostics): add REST API routes [3.3]
2026-03-03 11:57:00 -08:00
saravanakumardb1
44f36b0f1d
chore: add learning_ai_clock + learning_ai_fastgap to all repo workflows (backup, push, sync)
2026-02-28 12:54:56 -08:00
saravanakumardb1
7d5ed86724
feat: add universal prep-consumer.sh for portable Docker/CI builds + fix tsc errors
2026-02-28 12:32:11 -08:00
21aac9c95e
chore(deploy): add railway deploy script
2026-02-17 11:32:40 -08:00
saravanakumardb1
056f3236b6
feat(telemetry): Phase 3 — cluster resolve/ignore, audit logging, webhook alerts, metrics endpoint, Cosmos indexes
2026-02-17 10:50:29 -08:00
469efc6b8a
chore: add kv export audit
2026-02-15 00:43:29 -08:00