58cc2493e5
chore: consolidate ia_dev module, sync tooling, and harden gateways (0.0.5)
...
Initial state:
- ia_dev was historically referenced as ./ia_dev in docs and integrations, while the vendored module lives under services/ia_dev.
- AnythingLLM sync and hook installation had error masking / weak exit signaling.
- Proxy layers did not validate proxy path segments, allowing path normalization tricks.
Motivation:
- Make the IDE-oriented workflow usable (sync -> act -> deploy/preview) with explicit errors.
- Reduce security footguns in proxying and script automation.
Resolution:
- Standardize IA_DEV_ROOT usage and documentation to services/ia_dev.
- Add SSH remote data mirroring + optional AnythingLLM ingestion.
- Extend AnythingLLM pull sync to support upload-all/prefix and fail on upload errors.
- Harden smart-ide-sso-gateway and smart-ide-global-api proxying with safe-path checks and non-leaking error responses.
- Improve ia-dev-gateway runner validation and reduce sensitive path leakage.
- Add site scaffold tool (Vite/React) with OIDC + chat via sso-gateway -> orchestrator.
Root cause:
- Historical layout changes (submodule -> vendored tree) and missing central contracts for path resolution.
- Missing validation for proxy path traversal patterns.
- Overuse of silent fallbacks (|| true, exit 0 on partial failures) in automation scripts.
Impacted features:
- Project sync: git pull + AnythingLLM sync + remote data mirror ingestion.
- Site frontends: SSO gateway proxy and orchestrator intents (rag.query, chat.local).
- Agent execution: ia-dev-gateway script runner and SSE output.
Code modified:
- scripts/remote-data-ssh-sync.sh
- scripts/anythingllm-pull-sync/sync.mjs
- scripts/install-anythingllm-post-merge-hook.sh
- cron/git-pull-project-clones.sh
- services/smart-ide-sso-gateway/src/server.ts
- services/smart-ide-global-api/src/server.ts
- services/smart-ide-orchestrator/src/server.ts
- services/ia-dev-gateway/src/server.ts
- services/ia_dev/tools/site-generate.sh
Documentation modified:
- docs/** (architecture, API docs, ia_dev module + integration, scripts)
Configurations modified:
- config/services.local.env.example
- services/*/.env.example
Files in deploy modified:
- services/ia_dev/deploy/*
Files in logs impacted:
- logs/ia_dev.log (runtime only)
- .logs/* (runtime only)
Databases and other sources modified:
- None
Off-project modifications:
- None
Files in .smartIde modified:
- .smartIde/agents/*.md
- services/ia_dev/.smartIde/**
Files in .secrets modified:
- None
New patch version in VERSION:
- 0.0.5
CHANGELOG.md updated:
- yes
2026-04-04 18:36:43 +02:00
940cf59178
Share upstream definitions in @4nk/smart-ide-upstreams, systemd user units
...
- Add packages/smart-ide-upstreams (versioned dist) for resolveUpstream + listUpstreamKeys
- Wire smart-ide-global-api and smart-ide-sso-gateway via file: dependency
- Add systemd user unit templates and install-smart-ide-gateway-systemd-user.sh (SSO After/Requires global API)
- Update docs and VERSION 0.0.3
2026-04-04 15:37:58 +02:00
0af507143a
Add smart-ide-global API layer, SSO delegates proxy, .logs access logs
...
- New smart-ide-global-api (127.0.0.1:37149): internal bearer, upstream proxy, X-OIDC forward
- SSO gateway calls global API with GLOBAL_API_INTERNAL_TOKEN; logs to .logs/sso-gateway/
- Aggregated config example, docs, VERSION 0.0.2, claw proxy local URL hint
2026-04-03 23:08:52 +02:00
3b3e1e67de
docs: align regex-search with Cursor article; claw upstream submodule; SSO data ownership
...
- Add services/claw-harness-api/upstream → chinanpc/claude-code-rust (shallow)
- Document claw submodule and MIT Rust harness in service-claw-harness + feature doc
- agent-regex-search: map design principles to rg implementation vs indexed search
- SSO gateway: no user/project account storage; product DBs own identity context
2026-04-03 22:54:07 +02:00
466ed6b65f
chore(gitmodules): document service paths, add langextract upstream submodule
...
- Comment block mapping services to submodule paths (carbonyl/chandra/pageindex/langextract upstream)
- Note agent-regex-search-api and claw-harness-api as in-repo only
- Add services/langextract-api/upstream → google/langextract (shallow)
- Document submodule and optional pip install -e in service-langextract.md
2026-04-03 22:45:43 +02:00
68cb5737c5
feat(sso-gateway): add OIDC JWT gateway and proxy to micro-services
...
- New service smart-ide-sso-gateway (port 37148): JWKS verify, /health,
/v1/token/verify, /v1/upstreams, /proxy/<key>/...
- CORS on JSON responses when SSO_CORS_ORIGIN is set; optional empty
bearer for langextract upstream
- Docs: feature, API, repo index; wire sso-docv-enso and services scope
- Extend config/services.local.env.example with OIDC and gateway vars
2026-04-03 22:42:44 +02:00
14c974f54c
Add smart-ide-tools-bridge API for submodule tools + central local env
...
- New service: tools bridge (port 37147) registry + Carbonyl/PageIndex/Chandra POST jobs
- config/services.local.env.example and gitignore for services.local.env
- .env.example for repos-devtools, regex-search, ia-dev-gateway, orchestrator, claw proxy, langextract
- Orchestrator intents: tools.registry, tools.carbonyl.plan, tools.pageindex.run, tools.chandra.ocr
- Docs: API + repo service fiche, architecture index; do not commit dist/
2026-04-03 22:35:57 +02:00
d6a61e7cbe
chandra: document and script local HuggingFace install (hf extra, run-chandra-hf)
...
- Add install-local-hf.sh (uv sync --extra hf or pip install -e .[hf])
- Add run-chandra-hf.sh defaulting to --method hf
- Expand .env.example for upstream/local.env (MODEL_CHECKPOINT, TORCH_*)
2026-04-03 22:28:20 +02:00
a1ac5ae66b
Add Chandra OCR service (datalab-to upstream submodule, CLI wrapper)
...
- Submodule services/chandra/upstream (shallow), run-chandra.sh, .env.example
- Docs: service-chandra, chandra-ocr-documents; link from PageIndex feature
- Index updates in docs/README, repo/README, services, system-architecture
2026-04-03 22:27:18 +02:00
4fa2cc2418
Add PageIndex service (VectifyAI upstream submodule, CLI wrapper)
...
- Submodule services/pageindex/upstream (shallow), run-pageindex.sh, .env.example
- Docs: service-pageindex, pageindex-semantic-documents, index updates
2026-04-03 22:15:09 +02:00
3f1894e21f
Remove AnythingLLM VS Code extension; add Carbonyl service (upstream submodule)
...
- Delete extensions/anythingllm-workspaces; document migration to anythingllm-devtools
- Add services/carbonyl: shallow submodule fathyb/carbonyl, run-carbonyl.sh (Docker/native)
- Add scripts/open-carbonyl-preview-test.sh and smart_ide.preview_urls.test in example conf
- Docs: service-carbonyl, carbonyl-terminal-browser, architecture index updates
2026-04-03 22:13:34 +02:00
b21ac2cf64
feat: anythingllm-devtools service, builazoo project, ssh-config example, docs
...
- Add services/anythingllm-devtools HTTP API (repos + AnythingLLM + RAG)
- Rename gitea-issues to git-issues across smart_ide agents and docs
- Add projects/builazoo, builazoo README, cron fragment, ssh-config.example
- Add ensure-ia-dev-project-link.sh; wrapper delegates smart_ide id
- Bump ia_dev submodule (git-issues rename, project symlinks)
- Align 4nkaiignore templates; update API index and project docs
2026-04-03 19:06:19 +02:00
49767c8f9a
chore: rename .cursor to .smartIde
...
**Motivations:**
- Align IDE config directory naming with smartIde branding.
**Evolutions:**
- Move .cursor to .smartIde at repo root; ia_dev submodule same rename.
- ia-dev-gateway resolves agents under .smartIde/agents.
- Docs: smartide-config-directory.md, cross-link updates; enso-docs mirror unchanged.
2026-04-03 18:23:31 +02:00
ac96434351
docs: centralize README content under docs/repo/
...
**Motivations:**
- Single canonical documentation tree under docs/; reduce drift between README copies.
**Evolutions:**
- Add docs/repo/ with operational guides (cron, systemd, projects, logs, docv, ia_dev, services, scripts, extension).
- Replace scattered README.md files with pointers to docs/repo/*.md.
- Refresh docs/README.md index and cross-links across docs/, .cursor rules/agents.
- Bump ia_dev submodule to matching doc pointer commits.
2026-04-03 18:20:31 +02:00
01860b7af7
chore: remove gitmodules, add docv workspace crates, update systemd README
...
- Drop .gitmodules (ia_dev tracked as submodule pointer without file)
- Add services/docv Cargo workspace: docv-back, docv-shared, migrations, sources
- Refresh systemd/README.md
2026-04-03 17:55:50 +02:00
0f9a69e368
docs: deployed data over SSH, docv/AnythingLLM/services, IDE project config
...
- Add features/remote-deployed-data-ssh.md (source of truth on test/pprod/prod)
- Extend projects conf smart_ide.remote_data_access and anythingllm slugs (enso example)
- active-project.json.example + gitignore; .vscode/settings smartIde.activeProjectId
- Update docv integration docs, anythingllm-workspaces, ecosystem, API README
- Cursor rule: resolve project id from active-project / env / workspace setting
2026-04-03 17:55:08 +02:00
d98e6bce60
feat: logs/ for pull-sync and ia_dev; document ia_dev as in-repo module
...
- Default PULL_SYNC_LOG to logs/git-pull-projects.log; add logs/README and gitignore
- Add services/ia_dev integration README and .env.example
- Replace docs/ia_dev-submodule.md with ia_dev-module.md; update ecosystem and README links
- Point ia_dev submodule to commit with smart_ide_logs.sh
2026-04-03 17:50:49 +02:00
bc3c75e15f
Add enso docs mirror under services/docv/enso-docs; docv integration docs
...
- Copy enso/docs tree to services/docv/enso-docs (refresh via cp -a from enso repo)
- Document mirror and refresh command in services/docv/README.md
- Ignore services/docv/target for local Rust workspace
- Track docv-service-integration, API docv.md, and related doc index updates
2026-04-03 17:26:35 +02:00
1fcf057ce7
Track services/docv integration contract (README, .env.example)
2026-04-03 17:10:41 +02:00
088eab84b7
Platform docs, services, ia_dev submodule, smart_ide project config
...
- Add ia_dev submodule (projects/smart_ide on forge 4nk)
- Document APIs, orchestrator, gateway, local-office, rollout
- Add systemd/scripts layout; relocate setup scripts
- Remove obsolete nginx/enso-only docs from this repo scope
2026-04-03 16:07:58 +02:00
69ab265560
feat: initial RAG sync with .4nkaiignore (extension 0.3, server 0.2)
...
**Motivations:**
- Seed AnythingLLM workspace from cloned repo using gitignore-style filters
**Root causes:**
- N/A
**Correctifs:**
- N/A
**Evolutions:**
- Template 4nkaiignore.default; server copies after clone; extension uploads via POST /api/v1/document/upload
- New commands /workspace-sync; settings initialSync*; dependency ignore
**Pages affectées:**
- extensions/anythingllm-workspaces/*
- services/repos-devtools-server/*
- docs/features/initial-rag-sync-4nkaiignore.md
2026-03-24 22:36:37 +01:00
dce376f2b7
repos-devtools-server: gitignore .env, systemd unit template, README run modes
...
**Motivations:**
- Document user systemd and keep secrets out of git
**Root causes:**
- N/A
**Correctifs:**
- N/A
**Evolutions:**
- .env gitignored; systemd/user template and README
**Pages affectées:**
- services/repos-devtools-server/.gitignore
- services/repos-devtools-server/README.md
- services/repos-devtools-server/systemd/user/*
2026-03-23 21:24:31 +01:00
597f18f758
Add repos-devtools-server and AnythingLLM dev tools panel (0.2.0)
...
**Motivations:**
- Clone or load repos under /home/ncantu/code with AnythingLLM workspace ensure/create from the editor
**Root causes:**
- N/A (new capability)
**Correctifs:**
- N/A
**Evolutions:**
- services/repos-devtools-server: POST /repos-clone, GET /repos-list, POST /repos-load (Bearer REPOS_DEVTOOLS_TOKEN)
- Extension: Webview panel, slash commands, workspaceEnsure + POST /api/v1/workspace/new
- Docs: feature note and index links
**Pages affectées:**
- services/repos-devtools-server/*
- extensions/anythingllm-workspaces/*
- docs/README.md
- docs/features/repos-devtools-server-and-dev-panel.md
- docs/features/anythingllm-vscode-extension.md
2026-03-23 21:20:32 +01:00