@arnilo/prism 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/agent-approval.d.ts +49 -0
- package/dist/agent-approval.js +178 -0
- package/dist/agent-run-lifecycle.d.ts +5 -1
- package/dist/agent-run-lifecycle.js +211 -3
- package/dist/agent-session.d.ts +98 -0
- package/dist/agent-session.js +1811 -0
- package/dist/agent-tool-dispatch.d.ts +13 -0
- package/dist/agent-tool-dispatch.js +92 -0
- package/dist/agents.d.ts +16 -9
- package/dist/agents.js +14 -2267
- package/dist/cli-init.d.ts +0 -2
- package/dist/cli-init.js +0 -2
- package/dist/cli-runner.js +1 -1
- package/dist/contracts-core.d.ts +1396 -0
- package/dist/contracts-core.js +119 -0
- package/dist/contracts-protocol.d.ts +594 -0
- package/dist/contracts-protocol.js +2 -0
- package/dist/contracts-run-state.d.ts +285 -0
- package/dist/contracts-run-state.js +77 -0
- package/dist/contracts.d.ts +7 -2269
- package/dist/contracts.js +7 -192
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/rpc.js +2 -1
- package/docs/agent-loops.md +1 -1
- package/docs/agent-session-runtime.md +4 -2
- package/docs/browser-automation.md +13 -9
- package/docs/coding-agent-tools.md +1 -2
- package/docs/compaction-observational-memory.md +5 -6
- package/docs/index.md +4 -4
- package/docs/migration.md +114 -1
- package/docs/performance.md +10 -0
- package/docs/provider-conformance.md +2 -2
- package/docs/provider-layer.md +1 -1
- package/docs/provider-packages.md +1 -1
- package/docs/provider-primitives.md +1 -1
- package/docs/public-contracts.md +4 -2
- package/docs/release-and-install.md +64 -0
- package/docs/tool-execution-primitives.md +3 -3
- package/docs/tools.md +2 -2
- package/docs/use-case-model-selection.md +12 -11
- package/package.json +2 -2
package/dist/cli-init.d.ts
CHANGED
|
@@ -30,8 +30,6 @@ export interface InitResult {
|
|
|
30
30
|
}
|
|
31
31
|
/** Provider ids supported by `prism init --provider`. Loaded from templates data. */
|
|
32
32
|
export declare function listInitProviders(templatesRoot?: string): readonly string[];
|
|
33
|
-
/** @deprecated Prefer listInitProviders(); retained for tests that import the name. */
|
|
34
|
-
export declare const INIT_PROVIDERS: readonly string[];
|
|
35
33
|
export declare function getInitUsage(templatesRoot?: string): string;
|
|
36
34
|
export declare const initUsage: string;
|
|
37
35
|
export declare function parseInitArgs(argv: readonly string[], templatesRoot?: string): InitOptions;
|
package/dist/cli-init.js
CHANGED
|
@@ -34,8 +34,6 @@ export function listInitProviders(templatesRoot) {
|
|
|
34
34
|
return cachedProviderIds;
|
|
35
35
|
return Object.freeze([...loadProvidersCatalog(templatesRoot).keys()]);
|
|
36
36
|
}
|
|
37
|
-
/** @deprecated Prefer listInitProviders(); retained for tests that import the name. */
|
|
38
|
-
export const INIT_PROVIDERS = listInitProviders();
|
|
39
37
|
export function getInitUsage(templatesRoot) {
|
|
40
38
|
const providers = listInitProviders(templatesRoot).join("|");
|
|
41
39
|
return `Usage: prism init <dir> [options]
|
package/dist/cli-runner.js
CHANGED
|
@@ -340,7 +340,7 @@ function defaultCreateSession(options) {
|
|
|
340
340
|
}
|
|
341
341
|
function runOptions(options) {
|
|
342
342
|
return {
|
|
343
|
-
maxToolRounds: options.maxToolRounds,
|
|
343
|
+
...(options.maxToolRounds !== undefined ? { limits: { maxToolRounds: options.maxToolRounds } } : {}),
|
|
344
344
|
compaction: options.compact ? { thresholdEntries: options.compact } : undefined,
|
|
345
345
|
// ponytail: --discover is the explicit opt-in that activates discovered skills.
|
|
346
346
|
...(options.discover && !options.noDiscovery && options.discoveredSkills.length > 0
|