Repository navigation
Releases
@digitalchokro/core@1.3.0
@digitalchokro/core
1.2.0
Minor Changes
-
c44a207: Add
sqlCacheTtltoAgentOptions, and export the SQL guards and cache provider.sqlCacheTtlsets the TTL for the question → generated-SQL cache (Tier 1), which was previously fixed at one hour with no way to change it. Lower it so schema changes and prompt tuning take effect sooner, since a cached question bypasses the model entirely until its entry expires.applyRowLimit,isCannotAnswer,CANNOT_ANSWER_SQLandInMemoryCacheProviderare now public exports. TheCANNOT_ANSWERsentinel in particular was being recognised by ad-hoc string comparison in each provider; sharing one predicate means every provider agrees on what counts as a refusal. -
c44a207: Report real prompt and completion token counts on
AskResult.tokenUsage.AIProvidergains an optionalconsumeUsage(): TokenUsage, which returns the usage accumulated since the last call and resets the counter — a drain, not a peek. The agent drains after generation and again after formatting, so one question's total covers every model call made for it, retries included. All six bundled providers implement it, including across streaming responses. Providers that cannot report usage simply omit the method andtokenUsagestays at zero rather than being estimated.Also exported from
@digitalchokro/corefor plugin authors: theTokenUsagetype and theUsageAccumulatorhelper the bundled providers use.
Patch Changes
-
96c57bc: Match SQL identifiers case-insensitively in the tenant scope rewriter and the SQL validator.
Unquoted identifiers are case-insensitive in SQL, but both the rewriter's
scopedTablesand the validator's allow/block lists were compared with a case-sensitiveincludes(). Two consequences, both security-relevant:- A model that wrote
FROM Usersagainst a['users']scoping policy fell straight through the scoping loop, so the query ran unscoped and returned every tenant's rows. SELECT * FROM Secretspassed asecretsblock-list entry.
Both lists now normalise case on each side of the comparison. Tables absent from
scopedTablesare still left unscoped, in any case, as before. - A model that wrote
-
c44a207: Implement
increment()onInMemoryCacheProviderso per-tenant rate limiting works with the default cache.The counter's expiry is set only when the counter is created, so the window runs a fixed
windowSecondsfrom the first request instead of sliding forward on every hit — a steady stream of traffic can no longer hold the window open indefinitely and prevent the count from ever resetting. Note that a fixed window inherently permits up to 2×maxRequestsacross a window boundary, and that this provider is per-process: use a Redis-backed cache to rate limit across instances. -
96c57bc: Translate the
mssqldialect name before handing SQL to the parser.node-sql-parseracceptstransactsqland rejects the stringmssql, which is the dialect@digitalchokro/db-mssqlreports. Every SQL Server query therefore failed validation with a parse error, and — because the tenant rewriter fails closed — every SQL Server tenant rewrite failed too. A newtoParserDialect()maps the adapter's dialect name onto the parser's, and is exported for plugin authors writing their own validators.
1.1.6
Patch Changes
- 0441f9e: chore: standardize all package.json manifests with complete metadata (exports, repository, license, author)
1.1.5
Patch Changes
- dccaf30: docs: fix broken INTEGRATION_ARCHITECTURE.md links across all package READMEs to use absolute root repository URLs
1.1.4
Patch Changes
- dc07763: Dynamic few-shot examples that automatically adjust date syntax between Postgres (
date_trunc) and SQLite (strftime) based on the active database dialect.
1.1.3
Patch Changes
- 2e2e0d8: Perform full security and quality audit:
- Significantly improve local model accuracy (12x improvement) via Dialect-Aware Few-Shot prompting.
- Fix unused variable blocking CI linting pipeline.
- Scaffold test suites for CLI and ecosystem providers to improve maintenance coverage.
- Enable automated GitHub Releases.
1.1.2
Patch Changes
- d7203db: chore: fix security audit vulnerabilities in devDependencies and add sourcemaps to clear obfuscation warnings
1.1.1
Patch Changes
- 36e2695: docs: fix outdated limitations and proofread documentation regarding multi-part questions
1.1.0
Minor Changes
- b678fce: docs: add full Bengali translation of the README and distribute to all packages
Patch Changes
- 82b3ae4: docs: humanize Bengali translation of README for fluent natural tone
1.0.5
Patch Changes
- 6c47cfd: docs: include README.md in all packages for NPM registry display
1.0.4
Patch Changes
- 75ac706: chore: Optimize AEO/SEO metadata and secure supply chain via .npmignore
1.0.2
Patch Changes
- fix: safely strip trailing semicolons before appending the LIMIT clause to LLM-generated SQL
1.0.1
Patch Changes
- fix: correctly map all internal dependencies to @digitalchokro/askchokro namespace and resolve broken 1.0.0 references
1.0.0
Major Changes
- v1.0.0 Stable Release!
- Accuracy benchmarks published
- Added Anthropic (Claude 3.5 Sonnet) Provider
- Full multi-tenant isolation testing complete
- Core API surface locked in
Minor Changes
- b381260: Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
0.1.0-alpha.0
Minor Changes
- Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
@digitalchokro/askchokro@2.2.0
askchokro
2.1.1
Patch Changes
-
95b5809: Correct the published README.
The npm README was a byte-identical copy of the root README, including two links to files that are gitignored and therefore absent from the package. Removed those, and replaced three inaccurate claims: "guaranteed immunity to SQL injection" (the AST layer rejects non-
SELECTstatements — it is not a substitute for a read-only database user), a "~85% line coverage" figure that was never measured, and a ">80%" eval threshold that did not match the 70% the CI actually enforces. The provider table now lists all six providers with their real default models.
2.1.0
Minor Changes
- cdfba17: feat(docs, provider): create
@digitalchokro/provider-groqpackage, update accurate benchmark metrics in README, and standardize documentation UI with alerts.
Patch Changes
- Updated dependencies [cdfba17]
- @digitalchokro/provider-groq@2.0.7
2.0.6
Patch Changes
- 0441f9e: chore: standardize all package.json manifests with complete metadata (exports, repository, license, author)
- Updated dependencies [0441f9e]
- Updated dependencies [0441f9e]
- @digitalchokro/core@1.1.6
- @digitalchokro/db-mysql@2.0.6
- @digitalchokro/db-postgres@2.0.6
- @digitalchokro/db-sqlite@2.0.6
- @digitalchokro/provider-anthropic@2.0.6
- @digitalchokro/provider-gemini@1.1.6
- @digitalchokro/provider-ollama@2.0.6
- @digitalchokro/provider-openai@2.0.6
- @digitalchokro/vector-memory@2.0.6
2.0.5
Patch Changes
- dccaf30: docs: fix broken INTEGRATION_ARCHITECTURE.md links across all package READMEs to use absolute root repository URLs
- Updated dependencies [dccaf30]
- @digitalchokro/core@1.1.5
- @digitalchokro/db-mysql@2.0.5
- @digitalchokro/db-postgres@2.0.5
- @digitalchokro/db-sqlite@2.0.5
- @digitalchokro/provider-anthropic@2.0.5
- @digitalchokro/provider-gemini@1.1.5
- @digitalchokro/provider-ollama@2.0.5
- @digitalchokro/provider-openai@2.0.5
- @digitalchokro/vector-memory@2.0.5
2.0.4
Patch Changes
- Updated dependencies [dc07763]
- @digitalchokro/core@1.1.4
- @digitalchokro/db-mysql@2.0.4
- @digitalchokro/db-postgres@2.0.4
- @digitalchokro/db-sqlite@2.0.4
- @digitalchokro/provider-anthropic@2.0.4
- @digitalchokro/provider-gemini@1.1.4
- @digitalchokro/provider-ollama@2.0.4
- @digitalchokro/provider-openai@2.0.4
- @digitalchokro/vector-memory@2.0.4
2.0.3
Patch Changes
- Updated dependencies [2e2e0d8]
- @digitalchokro/core@1.1.3
- @digitalchokro/provider-ollama@2.0.3
- @digitalchokro/provider-anthropic@2.0.3
- @digitalchokro/db-mysql@2.0.3
- @digitalchokro/db-postgres@2.0.3
- @digitalchokro/db-sqlite@2.0.3
- @digitalchokro/provider-gemini@1.1.3
- @digitalchokro/provider-openai@2.0.3
- @digitalchokro/vector-memory@2.0.3
2.0.2
Patch Changes
- d7203db: chore: fix security audit vulnerabilities in devDependencies and add sourcemaps to clear obfuscation warnings
- Updated dependencies [d7203db]
- @digitalchokro/core@1.1.2
- @digitalchokro/db-mysql@2.0.2
- @digitalchokro/db-postgres@2.0.2
- @digitalchokro/db-sqlite@2.0.2
- @digitalchokro/provider-anthropic@2.0.2
- @digitalchokro/provider-gemini@1.1.2
- @digitalchokro/provider-ollama@2.0.2
- @digitalchokro/provider-openai@2.0.2
- @digitalchokro/vector-memory@2.0.2
2.0.1
Patch Changes
- 36e2695: docs: fix outdated limitations and proofread documentation regarding multi-part questions
- Updated dependencies [36e2695]
- @digitalchokro/core@1.1.1
- @digitalchokro/db-mysql@2.0.1
- @digitalchokro/db-postgres@2.0.1
- @digitalchokro/db-sqlite@2.0.1
- @digitalchokro/provider-anthropic@2.0.1
- @digitalchokro/provider-gemini@1.1.1
- @digitalchokro/provider-ollama@2.0.1
- @digitalchokro/provider-openai@2.0.1
- @digitalchokro/vector-memory@2.0.1
2.0.0
Minor Changes
- b678fce: docs: add full Bengali translation of the README and distribute to all packages
Patch Changes
- 82b3ae4: docs: humanize Bengali translation of README for fluent natural tone
- Updated dependencies [b678fce]
- Updated dependencies [82b3ae4]
- @digitalchokro/core@1.1.0
- @digitalchokro/db-mysql@2.0.0
- @digitalchokro/db-postgres@2.0.0
- @digitalchokro/db-sqlite@2.0.0
- @digitalchokro/provider-anthropic@2.0.0
- @digitalchokro/provider-gemini@1.1.0
- @digitalchokro/provider-ollama@2.0.0
- @digitalchokro/provider-openai@2.0.0
- @digitalchokro/vector-memory@2.0.0
1.1.1
Patch Changes
- 6c47cfd: docs: include README.md in all packages for NPM registry display
- Updated dependencies [6c47cfd]
- @digitalchokro/core@1.0.5
- @digitalchokro/db-mysql@1.0.2
- @digitalchokro/db-postgres@1.0.5
- @digitalchokro/db-sqlite@1.0.5
- @digitalchokro/provider-anthropic@1.0.5
- @digitalchokro/provider-gemini@1.0.6
- @digitalchokro/provider-ollama@1.0.5
- @digitalchokro/provider-openai@1.0.5
- @digitalchokro/vector-memory@1.0.2
1.1.0
Minor Changes
- aaad1a2: feat: add Anthropic (Claude) auto-detection and environment variable support
Patch Changes
- 75ac706: chore: Optimize AEO/SEO metadata and secure supply chain via .npmignore
- Updated dependencies [75ac706]
- @digitalchokro/core@1.0.4
- @digitalchokro/db-mysql@1.0.1
- @digitalchokro/db-postgres@1.0.4
- @digitalchokro/db-sqlite@1.0.4
- @digitalchokro/provider-anthropic@1.0.4
- @digitalchokro/provider-gemini@1.0.5
- @digitalchokro/provider-ollama@1.0.4
- @digitalchokro/provider-openai@1.0.4
- @digitalchokro/vector-memory@1.0.1
1.0.3
Patch Changes
- Updated dependencies
- @digitalchokro/core@1.0.2
- @digitalchokro/db-postgres@1.0.2
- @digitalchokro/db-sqlite@1.0.2
- @digitalchokro/provider-ollama@1.0.2
- @digitalchokro/provider-openai@1.0.2
1.0.2
Patch Changes
- fix: read ASKCHOKRO_MODEL from environment variables correctly in auto-detect logic
1.0.1
Patch Changes
- fix: correctly map all internal dependencies to @digitalchokro/askchokro namespace and resolve broken 1.0.0 references
- 71d752a: feat: add ASKCHOKRO_PROVIDER override to bypass broken OPENAI_API_KEYs
- Updated dependencies
- @digitalchokro/core@1.0.1
- @digitalchokro/db-postgres@1.0.1
- @digitalchokro/db-sqlite@1.0.1
- @digitalchokro/provider-ollama@1.0.1
- @digitalchokro/provider-openai@1.0.1
1.0.0
Major Changes
- v1.0.0 Stable Release!
- Accuracy benchmarks published
- Added Anthropic (Claude 3.5 Sonnet) Provider
- Full multi-tenant isolation testing complete
- Core API surface locked in
Minor Changes
- b381260: Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies [b381260]
- Updated dependencies
- @digitalchokro/core@1.0.0
- @digitalchokro/db-postgres@1.0.0
- @digitalchokro/db-sqlite@1.0.0
- @digitalchokro/provider-ollama@1.0.0
- @digitalchokro/provider-openai@1.0.0
0.1.0-alpha.0
Minor Changes
- Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies
- @digitalchokro/core@0.1.0-alpha.0
- @digitalchokro/db-postgres@1.0.0-alpha.0
- @digitalchokro/db-sqlite@1.0.0-alpha.0
- @digitalchokro/provider-ollama@1.0.0-alpha.0
- @digitalchokro/provider-openai@1.0.0-alpha.0
@digitalchokro/adapter-nextjs@2.1.0
@digitalchokro/adapter-nextjs
2.0.6
Patch Changes
- 0441f9e: chore: standardize all package.json manifests with complete metadata (exports, repository, license, author)
- Updated dependencies [0441f9e]
- @digitalchokro/core@1.1.6
2.0.5
Patch Changes
- dccaf30: docs: fix broken INTEGRATION_ARCHITECTURE.md links across all package READMEs to use absolute root repository URLs
- Updated dependencies [dccaf30]
- @digitalchokro/core@1.1.5
2.0.4
Patch Changes
- Updated dependencies [dc07763]
- @digitalchokro/core@1.1.4
2.0.3
Patch Changes
- Updated dependencies [2e2e0d8]
- @digitalchokro/core@1.1.3
2.0.2
Patch Changes
- d7203db: chore: fix security audit vulnerabilities in devDependencies and add sourcemaps to clear obfuscation warnings
- Updated dependencies [d7203db]
- @digitalchokro/core@1.1.2
2.0.1
Patch Changes
- 36e2695: docs: fix outdated limitations and proofread documentation regarding multi-part questions
- Updated dependencies [36e2695]
- @digitalchokro/core@1.1.1
2.0.0
Minor Changes
- b678fce: docs: add full Bengali translation of the README and distribute to all packages
Patch Changes
- 82b3ae4: docs: humanize Bengali translation of README for fluent natural tone
- Updated dependencies [b678fce]
- Updated dependencies [82b3ae4]
- @digitalchokro/core@1.1.0
1.0.5
Patch Changes
- 6c47cfd: docs: include README.md in all packages for NPM registry display
- Updated dependencies [6c47cfd]
- @digitalchokro/core@1.0.5
1.0.4
Patch Changes
- 75ac706: chore: Optimize AEO/SEO metadata and secure supply chain via .npmignore
- Updated dependencies [75ac706]
- @digitalchokro/core@1.0.4
1.0.2
Patch Changes
- Updated dependencies
- @digitalchokro/core@1.0.2
1.0.1
Patch Changes
- fix: correctly map all internal dependencies to @digitalchokro/askchokro namespace and resolve broken 1.0.0 references
- Updated dependencies
- @digitalchokro/core@1.0.1
1.0.0
Major Changes
- v1.0.0 Stable Release!
- Accuracy benchmarks published
- Added Anthropic (Claude 3.5 Sonnet) Provider
- Full multi-tenant isolation testing complete
- Core API surface locked in
Minor Changes
- b381260: Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies [b381260]
- Updated dependencies
- @digitalchokro/core@1.0.0
1.0.0-alpha.0
Minor Changes
- Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies
- @digitalchokro/core@0.1.0-alpha.0
@digitalchokro/adapter-hono@2.1.0
@digitalchokro/adapter-hono
2.0.5
Patch Changes
- Updated dependencies [0441f9e]
- @digitalchokro/core@1.1.6
@digitalchokro/adapter-fastify@2.1.0
@digitalchokro/adapter-fastify
2.0.5
Patch Changes
- Updated dependencies [0441f9e]
- @digitalchokro/core@1.1.6
@digitalchokro/adapter-express@2.2.0
@digitalchokro/adapter-express
2.1.0
Minor Changes
-
Republish with the corrected
@digitalchokro/corepeer range.The 2.0.6 artifacts on npm pin
@digitalchokro/coreto exactly1.1.6, a stale
exact pin left over from the oldworkspace:*peer specifier. The spec is now
workspace:^(see the peer-dependency fix), which publishes as^1.2.0and is
the honest constraint — core 1.x is compatible within its major. These two
packages were the only publishable dependents not already carried by another
changeset, so without this they would stay at the broken 2.0.6.
2.0.6
Patch Changes
- 0441f9e: chore: standardize all package.json manifests with complete metadata (exports, repository, license, author)
- Updated dependencies [0441f9e]
- @digitalchokro/core@1.1.6
2.0.5
Patch Changes
- dccaf30: docs: fix broken INTEGRATION_ARCHITECTURE.md links across all package READMEs to use absolute root repository URLs
- Updated dependencies [dccaf30]
- @digitalchokro/core@1.1.5
2.0.4
Patch Changes
- Updated dependencies [dc07763]
- @digitalchokro/core@1.1.4
2.0.3
Patch Changes
- Updated dependencies [2e2e0d8]
- @digitalchokro/core@1.1.3
2.0.2
Patch Changes
- d7203db: chore: fix security audit vulnerabilities in devDependencies and add sourcemaps to clear obfuscation warnings
- Updated dependencies [d7203db]
- @digitalchokro/core@1.1.2
2.0.1
Patch Changes
- 36e2695: docs: fix outdated limitations and proofread documentation regarding multi-part questions
- Updated dependencies [36e2695]
- @digitalchokro/core@1.1.1
2.0.0
Minor Changes
- b678fce: docs: add full Bengali translation of the README and distribute to all packages
Patch Changes
- 82b3ae4: docs: humanize Bengali translation of README for fluent natural tone
- Updated dependencies [b678fce]
- Updated dependencies [82b3ae4]
- @digitalchokro/core@1.1.0
1.0.5
Patch Changes
- 6c47cfd: docs: include README.md in all packages for NPM registry display
- Updated dependencies [6c47cfd]
- @digitalchokro/core@1.0.5
1.0.4
Patch Changes
- 75ac706: chore: Optimize AEO/SEO metadata and secure supply chain via .npmignore
- Updated dependencies [75ac706]
- @digitalchokro/core@1.0.4
1.0.2
Patch Changes
- Updated dependencies
- @digitalchokro/core@1.0.2
1.0.1
Patch Changes
- fix: correctly map all internal dependencies to @digitalchokro/askchokro namespace and resolve broken 1.0.0 references
- Updated dependencies
- @digitalchokro/core@1.0.1
1.0.0
Major Changes
- v1.0.0 Stable Release!
- Accuracy benchmarks published
- Added Anthropic (Claude 3.5 Sonnet) Provider
- Full multi-tenant isolation testing complete
- Core API surface locked in
Minor Changes
- b381260: Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies [b381260]
- Updated dependencies
- @digitalchokro/core@1.0.0
1.0.0-alpha.0
Minor Changes
- Initial alpha release for AskChokro!
- Zero-config DatabaseAgent
- AST Tenant Rewriting
- SQLite & Postgres adapters
- OpenAI & Ollama providers
- Next.js & Express adapters
- Viral
npx askchokro demoCLI
Patch Changes
- Updated dependencies
- @digitalchokro/core@0.1.0-alpha.0
@digitalchokro/db-postgres@2.1.0
Minor Changes
-
Republish with the corrected
@digitalchokro/corepeer range.The 2.0.6 artifacts on npm pin
@digitalchokro/coreto exactly1.1.6, a stale
exact pin left over from the oldworkspace:*peer specifier. The spec is now
workspace:^(see the peer-dependency fix), which publishes as^1.2.0and is
the honest constraint — core 1.x is compatible within its major. These two
packages were the only publishable dependents not already carried by another
changeset, so without this they would stay at the broken 2.0.6.
@digitalchokro/adapter-express@2.1.0
Minor Changes
-
Republish with the corrected
@digitalchokro/corepeer range.The 2.0.6 artifacts on npm pin
@digitalchokro/coreto exactly1.1.6, a stale
exact pin left over from the oldworkspace:*peer specifier. The spec is now
workspace:^(see the peer-dependency fix), which publishes as^1.2.0and is
the honest constraint — core 1.x is compatible within its major. These two
packages were the only publishable dependents not already carried by another
changeset, so without this they would stay at the broken 2.0.6.
@digitalchokro/provider-vertex@1.1.0
Minor Changes
-
c44a207: Report real prompt and completion token counts on
AskResult.tokenUsage.AIProvidergains an optionalconsumeUsage(): TokenUsage, which returns the usage accumulated since the last call and resets the counter — a drain, not a peek. The agent drains after generation and again after formatting, so one question's total covers every model call made for it, retries included. All six bundled providers implement it, including across streaming responses. Providers that cannot report usage simply omit the method andtokenUsagestays at zero rather than being estimated.Also exported from
@digitalchokro/corefor plugin authors: theTokenUsagetype and theUsageAccumulatorhelper the bundled providers use.
@digitalchokro/provider-openai@2.1.0
Minor Changes
-
c44a207: Report real prompt and completion token counts on
AskResult.tokenUsage.AIProvidergains an optionalconsumeUsage(): TokenUsage, which returns the usage accumulated since the last call and resets the counter — a drain, not a peek. The agent drains after generation and again after formatting, so one question's total covers every model call made for it, retries included. All six bundled providers implement it, including across streaming responses. Providers that cannot report usage simply omit the method andtokenUsagestays at zero rather than being estimated.Also exported from
@digitalchokro/corefor plugin authors: theTokenUsagetype and theUsageAccumulatorhelper the bundled providers use.