agentfootprint 7.28.0 → 8.0.0
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/AGENTS.md +10 -10
- package/README.md +30 -5
- package/ai-instructions/claude-code/SKILL.md +2 -2
- package/ai-instructions/clinerules +1 -1
- package/ai-instructions/copilot-instructions.md +1 -1
- package/ai-instructions/cursor/agentfootprint.md +1 -1
- package/ai-instructions/kiro/agentfootprint.md +1 -1
- package/ai-instructions/windsurfrules +1 -1
- package/dist/core/agent/AgentBuilder.js +45 -11
- package/dist/core/agent/AgentBuilder.js.map +1 -1
- package/dist/core/agent/watch.js +39 -0
- package/dist/core/agent/watch.js.map +1 -0
- package/dist/debug/finders.js +4 -0
- package/dist/debug/finders.js.map +1 -1
- package/dist/debug.js +4 -0
- package/dist/debug.js.map +1 -1
- package/dist/doors/context.js +34 -0
- package/dist/doors/context.js.map +1 -0
- package/dist/doors/hosting.js +32 -0
- package/dist/doors/hosting.js.map +1 -0
- package/dist/doors/memory.js +36 -0
- package/dist/doors/memory.js.map +1 -0
- package/dist/doors/observe.js +52 -0
- package/dist/doors/observe.js.map +1 -0
- package/dist/doors/providers.js +43 -0
- package/dist/doors/providers.js.map +1 -0
- package/dist/doors/resilience.js +61 -0
- package/dist/doors/resilience.js.map +1 -0
- package/dist/doors/security.js +39 -0
- package/dist/doors/security.js.map +1 -0
- package/dist/embedders/index.js.map +1 -1
- package/dist/esm/core/agent/AgentBuilder.d.ts +37 -7
- package/dist/esm/core/agent/AgentBuilder.js +45 -11
- package/dist/esm/core/agent/AgentBuilder.js.map +1 -1
- package/dist/esm/core/agent/watch.d.ts +59 -0
- package/dist/esm/core/agent/watch.js +38 -0
- package/dist/esm/core/agent/watch.js.map +1 -0
- package/dist/esm/debug/finders.d.ts +4 -0
- package/dist/esm/debug/finders.js +4 -0
- package/dist/esm/debug/finders.js.map +1 -1
- package/dist/esm/debug.d.ts +4 -0
- package/dist/esm/debug.js +4 -0
- package/dist/esm/debug.js.map +1 -1
- package/dist/esm/doors/context.d.ts +17 -0
- package/dist/esm/doors/context.js +18 -0
- package/dist/esm/doors/context.js.map +1 -0
- package/dist/esm/doors/hosting.d.ts +15 -0
- package/dist/esm/doors/hosting.js +16 -0
- package/dist/esm/doors/hosting.js.map +1 -0
- package/dist/esm/doors/memory.d.ts +19 -0
- package/dist/esm/doors/memory.js +20 -0
- package/dist/esm/doors/memory.js.map +1 -0
- package/dist/esm/doors/observe.d.ts +35 -0
- package/dist/esm/doors/observe.js +36 -0
- package/dist/esm/doors/observe.js.map +1 -0
- package/dist/esm/doors/providers.d.ts +26 -0
- package/dist/esm/doors/providers.js +27 -0
- package/dist/esm/doors/providers.js.map +1 -0
- package/dist/esm/doors/resilience.d.ts +37 -0
- package/dist/esm/doors/resilience.js +39 -0
- package/dist/esm/doors/resilience.js.map +1 -0
- package/dist/esm/doors/security.d.ts +22 -0
- package/dist/esm/doors/security.js +23 -0
- package/dist/esm/doors/security.js.map +1 -0
- package/dist/esm/embedders/index.d.ts +4 -0
- package/dist/esm/embedders/index.js.map +1 -1
- package/dist/esm/hosting-providers.d.ts +4 -0
- package/dist/esm/hosting-providers.js +4 -0
- package/dist/esm/hosting-providers.js.map +1 -1
- package/dist/esm/identity.d.ts +4 -0
- package/dist/esm/identity.js +4 -0
- package/dist/esm/identity.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/injection-engine.d.ts +4 -0
- package/dist/esm/injection-engine.js +4 -0
- package/dist/esm/injection-engine.js.map +1 -1
- package/dist/esm/llm-providers.d.ts +4 -0
- package/dist/esm/llm-providers.js +4 -0
- package/dist/esm/llm-providers.js.map +1 -1
- package/dist/esm/locales/index.d.ts +4 -0
- package/dist/esm/locales/index.js +4 -0
- package/dist/esm/locales/index.js.map +1 -1
- package/dist/esm/memory-providers.d.ts +4 -0
- package/dist/esm/memory-providers.js +4 -0
- package/dist/esm/memory-providers.js.map +1 -1
- package/dist/esm/observability/contextError/finders/index.d.ts +4 -0
- package/dist/esm/observability/contextError/finders/index.js.map +1 -1
- package/dist/esm/observability-providers.d.ts +4 -0
- package/dist/esm/observability-providers.js +4 -0
- package/dist/esm/observability-providers.js.map +1 -1
- package/dist/esm/reliability/index.d.ts +8 -0
- package/dist/esm/reliability/index.js +8 -0
- package/dist/esm/reliability/index.js.map +1 -1
- package/dist/esm/status.d.ts +4 -0
- package/dist/esm/status.js +4 -0
- package/dist/esm/status.js.map +1 -1
- package/dist/esm/strategies/index.d.ts +4 -0
- package/dist/esm/strategies/index.js +4 -0
- package/dist/esm/strategies/index.js.map +1 -1
- package/dist/esm/stream.d.ts +4 -0
- package/dist/esm/stream.js +4 -0
- package/dist/esm/stream.js.map +1 -1
- package/dist/esm/thinking/index.d.ts +4 -0
- package/dist/esm/thinking/index.js +4 -0
- package/dist/esm/thinking/index.js.map +1 -1
- package/dist/esm/tool-providers/index.d.ts +4 -0
- package/dist/esm/tool-providers/index.js +4 -0
- package/dist/esm/tool-providers/index.js.map +1 -1
- package/dist/hosting-providers.js +4 -0
- package/dist/hosting-providers.js.map +1 -1
- package/dist/identity.js +4 -0
- package/dist/identity.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/injection-engine.js +4 -0
- package/dist/injection-engine.js.map +1 -1
- package/dist/llm-providers.js +4 -0
- package/dist/llm-providers.js.map +1 -1
- package/dist/locales/index.js +4 -0
- package/dist/locales/index.js.map +1 -1
- package/dist/memory-providers.js +4 -0
- package/dist/memory-providers.js.map +1 -1
- package/dist/observability/contextError/finders/index.js.map +1 -1
- package/dist/observability-providers.js +4 -0
- package/dist/observability-providers.js.map +1 -1
- package/dist/reliability/index.js +8 -0
- package/dist/reliability/index.js.map +1 -1
- package/dist/status.js +4 -0
- package/dist/status.js.map +1 -1
- package/dist/strategies/index.js +4 -0
- package/dist/strategies/index.js.map +1 -1
- package/dist/stream.js +4 -0
- package/dist/stream.js.map +1 -1
- package/dist/thinking/index.js +4 -0
- package/dist/thinking/index.js.map +1 -1
- package/dist/tool-providers/index.js +4 -0
- package/dist/tool-providers/index.js.map +1 -1
- package/dist/types/core/agent/AgentBuilder.d.ts +37 -7
- package/dist/types/core/agent/AgentBuilder.d.ts.map +1 -1
- package/dist/types/core/agent/watch.d.ts +60 -0
- package/dist/types/core/agent/watch.d.ts.map +1 -0
- package/dist/types/debug/finders.d.ts +4 -0
- package/dist/types/debug/finders.d.ts.map +1 -1
- package/dist/types/debug.d.ts +4 -0
- package/dist/types/debug.d.ts.map +1 -1
- package/dist/types/doors/context.d.ts +18 -0
- package/dist/types/doors/context.d.ts.map +1 -0
- package/dist/types/doors/hosting.d.ts +16 -0
- package/dist/types/doors/hosting.d.ts.map +1 -0
- package/dist/types/doors/memory.d.ts +20 -0
- package/dist/types/doors/memory.d.ts.map +1 -0
- package/dist/types/doors/observe.d.ts +36 -0
- package/dist/types/doors/observe.d.ts.map +1 -0
- package/dist/types/doors/providers.d.ts +27 -0
- package/dist/types/doors/providers.d.ts.map +1 -0
- package/dist/types/doors/resilience.d.ts +38 -0
- package/dist/types/doors/resilience.d.ts.map +1 -0
- package/dist/types/doors/security.d.ts +23 -0
- package/dist/types/doors/security.d.ts.map +1 -0
- package/dist/types/embedders/index.d.ts +4 -0
- package/dist/types/embedders/index.d.ts.map +1 -1
- package/dist/types/hosting-providers.d.ts +4 -0
- package/dist/types/hosting-providers.d.ts.map +1 -1
- package/dist/types/identity.d.ts +4 -0
- package/dist/types/identity.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/injection-engine.d.ts +4 -0
- package/dist/types/injection-engine.d.ts.map +1 -1
- package/dist/types/llm-providers.d.ts +4 -0
- package/dist/types/llm-providers.d.ts.map +1 -1
- package/dist/types/locales/index.d.ts +4 -0
- package/dist/types/locales/index.d.ts.map +1 -1
- package/dist/types/memory-providers.d.ts +4 -0
- package/dist/types/memory-providers.d.ts.map +1 -1
- package/dist/types/observability/contextError/finders/index.d.ts +4 -0
- package/dist/types/observability/contextError/finders/index.d.ts.map +1 -1
- package/dist/types/observability-providers.d.ts +4 -0
- package/dist/types/observability-providers.d.ts.map +1 -1
- package/dist/types/reliability/index.d.ts +8 -0
- package/dist/types/reliability/index.d.ts.map +1 -1
- package/dist/types/status.d.ts +4 -0
- package/dist/types/status.d.ts.map +1 -1
- package/dist/types/strategies/index.d.ts +4 -0
- package/dist/types/strategies/index.d.ts.map +1 -1
- package/dist/types/stream.d.ts +4 -0
- package/dist/types/stream.d.ts.map +1 -1
- package/dist/types/thinking/index.d.ts +4 -0
- package/dist/types/thinking/index.d.ts.map +1 -1
- package/dist/types/tool-providers/index.d.ts +4 -0
- package/dist/types/tool-providers/index.d.ts.map +1 -1
- package/package.json +182 -155
package/dist/esm/debug.js
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
*
|
|
17
17
|
* For backward compatibility these are ALSO re-exported (deprecated) from
|
|
18
18
|
* `agentfootprint/observe` for one transition version.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
21
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
22
|
+
* here is the same symbol on the new door, not a copy.
|
|
19
23
|
*/
|
|
20
24
|
// influence-core — the ONE embedding-based scoring engine (RFC-002/003
|
|
21
25
|
// block D6). Not a recorder: pure, embedder-injected scoring functions
|
package/dist/esm/debug.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../src/debug.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,uEAAuE;AACvE,uEAAuE;AACvE,wEAAwE;AACxE,wEAAwE;AACxE,4BAA4B;AAC5B,OAAO,EACL,YAAY,EACZ,gBAAgB,EACh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AAuE;AACvE,mEAAmE;AACnE,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,GASzB,MAAM,+BAA+B,CAAC;AACvC,wEAAwE;AACxE,8EAA8E;AAC9E,qEAAqE;AACrE,wEAAwE;AACxE,uEAAuE;AACvE,gEAAgE;AAChE,gDAAgD;AAChD,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,cAAc,EACd,mBAAmB,GAepB,MAAM,0BAA0B,CAAC;AAClC,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,uEAAuE;AACvE,2EAA2E;AAC3E,8EAA8E;AAC9E,yCAAyC;AACzC,OAAO,EACL,YAAY,GAYb,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/context — how the model's context gets assembled.
|
|
3
|
+
*
|
|
4
|
+
* The injection engine: one `Injection` type, the sugar factories that build
|
|
5
|
+
* one, and the engine subflow that resolves them into the three slots a
|
|
6
|
+
* request is made of (system prompt, messages, tools).
|
|
7
|
+
*
|
|
8
|
+
* Named for the job rather than the machine — this was
|
|
9
|
+
* `agentfootprint/injection-engine`, which described our implementation
|
|
10
|
+
* instead of your task.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { defineInjection, type Injection } from 'agentfootprint/context';
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export * from '../injection-engine.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/context — how the model's context gets assembled.
|
|
3
|
+
*
|
|
4
|
+
* The injection engine: one `Injection` type, the sugar factories that build
|
|
5
|
+
* one, and the engine subflow that resolves them into the three slots a
|
|
6
|
+
* request is made of (system prompt, messages, tools).
|
|
7
|
+
*
|
|
8
|
+
* Named for the job rather than the machine — this was
|
|
9
|
+
* `agentfootprint/injection-engine`, which described our implementation
|
|
10
|
+
* instead of your task.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { defineInjection, type Injection } from 'agentfootprint/context';
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export * from '../injection-engine.js';
|
|
18
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/doors/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/hosting — putting an agent behind a wire.
|
|
3
|
+
*
|
|
4
|
+
* The hosts (`nodeHost`, `httpHost`, `standingAgent`), the session stores
|
|
5
|
+
* (in-memory, SQLite), the checkpoint envelope helpers, the typed host
|
|
6
|
+
* errors — and the AgentCore runtime host + session adapters that speak the
|
|
7
|
+
* same ports.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { httpHost, memorySessions, agentCoreRuntimeHost } from 'agentfootprint/hosting';
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export * from '../hosting/index.js';
|
|
15
|
+
export * from '../hosting-providers.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/hosting — putting an agent behind a wire.
|
|
3
|
+
*
|
|
4
|
+
* The hosts (`nodeHost`, `httpHost`, `standingAgent`), the session stores
|
|
5
|
+
* (in-memory, SQLite), the checkpoint envelope helpers, the typed host
|
|
6
|
+
* errors — and the AgentCore runtime host + session adapters that speak the
|
|
7
|
+
* same ports.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { httpHost, memorySessions, agentCoreRuntimeHost } from 'agentfootprint/hosting';
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export * from '../hosting/index.js';
|
|
15
|
+
export * from '../hosting-providers.js';
|
|
16
|
+
//# sourceMappingURL=hosting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosting.js","sourceRoot":"","sources":["../../../src/doors/hosting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/memory — state that outlives a turn.
|
|
3
|
+
*
|
|
4
|
+
* `defineMemory` and the whole memory subsystem (beats, facts, causal
|
|
5
|
+
* recall, embedding retrieval, pipelines, the `MemoryStore` port), together
|
|
6
|
+
* with the shipped stores you can point it at: Redis, AgentCore, and the
|
|
7
|
+
* read-only Bedrock Agents session-summary reader.
|
|
8
|
+
*
|
|
9
|
+
* Prompt caching lives at `agentfootprint/cache`, deliberately NOT here: it
|
|
10
|
+
* registers vendor cache strategies on import, and side-effectful code stays
|
|
11
|
+
* behind its own door rather than riding along with `defineMemory`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { defineMemory, MEMORY_TYPES, RedisStore } from 'agentfootprint/memory';
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export * from '../memory/index.js';
|
|
19
|
+
export * from '../memory-providers.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/memory — state that outlives a turn.
|
|
3
|
+
*
|
|
4
|
+
* `defineMemory` and the whole memory subsystem (beats, facts, causal
|
|
5
|
+
* recall, embedding retrieval, pipelines, the `MemoryStore` port), together
|
|
6
|
+
* with the shipped stores you can point it at: Redis, AgentCore, and the
|
|
7
|
+
* read-only Bedrock Agents session-summary reader.
|
|
8
|
+
*
|
|
9
|
+
* Prompt caching lives at `agentfootprint/cache`, deliberately NOT here: it
|
|
10
|
+
* registers vendor cache strategies on import, and side-effectful code stays
|
|
11
|
+
* behind its own door rather than riding along with `defineMemory`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* import { defineMemory, MEMORY_TYPES, RedisStore } from 'agentfootprint/memory';
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export * from '../memory/index.js';
|
|
19
|
+
export * from '../memory-providers.js';
|
|
20
|
+
//# sourceMappingURL=memory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../../src/doors/memory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/observe — everything that watches.
|
|
3
|
+
*
|
|
4
|
+
* One door for the whole watching story, which used to be nine:
|
|
5
|
+
*
|
|
6
|
+
* • Recorders — the Tier 1/2/3 observers, `recordRun`, the
|
|
7
|
+
* offline `Trace`, the context ledger.
|
|
8
|
+
* • Diagnosis — influence scoring, trace toolpack, context-bisect,
|
|
9
|
+
* tool lint, and the pluggable context-error finders.
|
|
10
|
+
* • Vendor sinks — AgentCore / CloudWatch / X-Ray / OTel strategies,
|
|
11
|
+
* plus the tamper-evident audit export.
|
|
12
|
+
* • Strategy ports — the observability / cost / live-status / lens
|
|
13
|
+
* interfaces and their `attach*` helpers.
|
|
14
|
+
* • Delivery — `toSSE` and friends, for streaming a run to a
|
|
15
|
+
* browser.
|
|
16
|
+
* • Status + words — the chat-bubble state machine AND the message
|
|
17
|
+
* catalogs it renders with. The logic and the prose
|
|
18
|
+
* are one story, so they are one door.
|
|
19
|
+
*
|
|
20
|
+
* The typed event stream those observers consume is its own door,
|
|
21
|
+
* `agentfootprint/events` — it is the wire vocabulary, not a watching tool.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { recordRun, toolChoiceRecorder, selectStatus } from 'agentfootprint/observe';
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export * from '../observe.js';
|
|
29
|
+
export * from '../observability-providers.js';
|
|
30
|
+
export * from '../strategies/index.js';
|
|
31
|
+
export * from '../stream.js';
|
|
32
|
+
export * from '../status.js';
|
|
33
|
+
export * from '../debug.js';
|
|
34
|
+
export * from '../debug/finders.js';
|
|
35
|
+
export * from '../locales/index.js';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/observe — everything that watches.
|
|
3
|
+
*
|
|
4
|
+
* One door for the whole watching story, which used to be nine:
|
|
5
|
+
*
|
|
6
|
+
* • Recorders — the Tier 1/2/3 observers, `recordRun`, the
|
|
7
|
+
* offline `Trace`, the context ledger.
|
|
8
|
+
* • Diagnosis — influence scoring, trace toolpack, context-bisect,
|
|
9
|
+
* tool lint, and the pluggable context-error finders.
|
|
10
|
+
* • Vendor sinks — AgentCore / CloudWatch / X-Ray / OTel strategies,
|
|
11
|
+
* plus the tamper-evident audit export.
|
|
12
|
+
* • Strategy ports — the observability / cost / live-status / lens
|
|
13
|
+
* interfaces and their `attach*` helpers.
|
|
14
|
+
* • Delivery — `toSSE` and friends, for streaming a run to a
|
|
15
|
+
* browser.
|
|
16
|
+
* • Status + words — the chat-bubble state machine AND the message
|
|
17
|
+
* catalogs it renders with. The logic and the prose
|
|
18
|
+
* are one story, so they are one door.
|
|
19
|
+
*
|
|
20
|
+
* The typed event stream those observers consume is its own door,
|
|
21
|
+
* `agentfootprint/events` — it is the wire vocabulary, not a watching tool.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { recordRun, toolChoiceRecorder, selectStatus } from 'agentfootprint/observe';
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export * from '../observe.js';
|
|
29
|
+
export * from '../observability-providers.js';
|
|
30
|
+
export * from '../strategies/index.js';
|
|
31
|
+
export * from '../stream.js';
|
|
32
|
+
export * from '../status.js';
|
|
33
|
+
export * from '../debug.js';
|
|
34
|
+
export * from '../debug/finders.js';
|
|
35
|
+
export * from '../locales/index.js';
|
|
36
|
+
//# sourceMappingURL=observe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observe.js","sourceRoot":"","sources":["../../../src/doors/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/providers — everything you plug a backend into.
|
|
3
|
+
*
|
|
4
|
+
* One door for every "here is the thing that actually does the work":
|
|
5
|
+
*
|
|
6
|
+
* • LLM providers — `mock`, `anthropic`, `openai`, `bedrock`, the
|
|
7
|
+
* browser variants, `createProvider`, and the
|
|
8
|
+
* `LLMProvider` port you implement for your own.
|
|
9
|
+
* • Embedders — `openaiEmbedder`, `localEmbedder`, `staticEmbedder`.
|
|
10
|
+
* • Tool providers — `staticTools`, `gatedTools`, `skillScopedTools`,
|
|
11
|
+
* plus the MCP client/server bridge.
|
|
12
|
+
* • Thinking handlers — per-vendor parsing of extended-thinking blocks,
|
|
13
|
+
* which is a provider concern wearing another hat.
|
|
14
|
+
*
|
|
15
|
+
* Each vendor SDK is lazy-required, so importing this door loads no vendor
|
|
16
|
+
* code — only calling a factory does.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { anthropic, staticTools, openaiEmbedder } from 'agentfootprint/providers';
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export * from '../llm-providers.js';
|
|
24
|
+
export * from '../embedders/index.js';
|
|
25
|
+
export * from '../tool-providers/index.js';
|
|
26
|
+
export * from '../thinking/index.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/providers — everything you plug a backend into.
|
|
3
|
+
*
|
|
4
|
+
* One door for every "here is the thing that actually does the work":
|
|
5
|
+
*
|
|
6
|
+
* • LLM providers — `mock`, `anthropic`, `openai`, `bedrock`, the
|
|
7
|
+
* browser variants, `createProvider`, and the
|
|
8
|
+
* `LLMProvider` port you implement for your own.
|
|
9
|
+
* • Embedders — `openaiEmbedder`, `localEmbedder`, `staticEmbedder`.
|
|
10
|
+
* • Tool providers — `staticTools`, `gatedTools`, `skillScopedTools`,
|
|
11
|
+
* plus the MCP client/server bridge.
|
|
12
|
+
* • Thinking handlers — per-vendor parsing of extended-thinking blocks,
|
|
13
|
+
* which is a provider concern wearing another hat.
|
|
14
|
+
*
|
|
15
|
+
* Each vendor SDK is lazy-required, so importing this door loads no vendor
|
|
16
|
+
* code — only calling a factory does.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* import { anthropic, staticTools, openaiEmbedder } from 'agentfootprint/providers';
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export * from '../llm-providers.js';
|
|
24
|
+
export * from '../embedders/index.js';
|
|
25
|
+
export * from '../tool-providers/index.js';
|
|
26
|
+
export * from '../thinking/index.js';
|
|
27
|
+
//# sourceMappingURL=providers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/doors/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/resilience — what happens when the call fails.
|
|
3
|
+
*
|
|
4
|
+
* Both halves of staying up, behind one name:
|
|
5
|
+
*
|
|
6
|
+
* • Provider decorators — `withRetry`, `withFallback`, `fallbackProvider`,
|
|
7
|
+
* `withCircuitBreaker`. Each preserves the `LLMProvider` interface, so
|
|
8
|
+
* they stack freely around any provider.
|
|
9
|
+
* • The rules engine — `.reliability({ postDecide: [...] })`'s typed rule
|
|
10
|
+
* shapes, the fail-fast error, the pure breaker state machine, and the
|
|
11
|
+
* schema-retry helpers.
|
|
12
|
+
*
|
|
13
|
+
* ## One name that exists twice, said out loud
|
|
14
|
+
*
|
|
15
|
+
* `CircuitOpenError` is TWO different classes: the decorator throws one
|
|
16
|
+
* (`src/resilience/withCircuitBreaker.ts`), the reliability gate throws
|
|
17
|
+
* another (`src/reliability/CircuitBreaker.ts`), and they differ in
|
|
18
|
+
* constructor and in `instanceof`. This door carries the DECORATOR's — the
|
|
19
|
+
* one a consumer catches, since it is the one that escapes a provider call.
|
|
20
|
+
*
|
|
21
|
+
* The gate's stays reachable at `agentfootprint/reliability` for all of 8.x.
|
|
22
|
+
* If you `instanceof`-check the error thrown by the reliability gate, keep
|
|
23
|
+
* importing it from there. Merging them would have changed the message text
|
|
24
|
+
* on one path, and this release changes packaging only.
|
|
25
|
+
*
|
|
26
|
+
* `CircuitState` also exists twice, but the two are byte-identical
|
|
27
|
+
* (`'closed' | 'open' | 'half-open'`), so the one re-exported here satisfies
|
|
28
|
+
* both and no consumer can tell the difference.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* import { withRetry, withFallback, type ReliabilityRule } from 'agentfootprint/resilience';
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export * from '../resilience/index.js';
|
|
36
|
+
export type { BreakerState, CircuitBreakerConfig, OutputSchemaValidator, ReliabilityConfig, ReliabilityDecision, ReliabilityFallbackFn, ReliabilityProvider, ReliabilityRule, ReliabilityScope, } from '../reliability/index.js';
|
|
37
|
+
export { defaultStuckLoopRule, initialBreakerState, lastNValidationErrorsMatch, ReliabilityFailFastError, ValidationFailure, } from '../reliability/index.js';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/resilience — what happens when the call fails.
|
|
3
|
+
*
|
|
4
|
+
* Both halves of staying up, behind one name:
|
|
5
|
+
*
|
|
6
|
+
* • Provider decorators — `withRetry`, `withFallback`, `fallbackProvider`,
|
|
7
|
+
* `withCircuitBreaker`. Each preserves the `LLMProvider` interface, so
|
|
8
|
+
* they stack freely around any provider.
|
|
9
|
+
* • The rules engine — `.reliability({ postDecide: [...] })`'s typed rule
|
|
10
|
+
* shapes, the fail-fast error, the pure breaker state machine, and the
|
|
11
|
+
* schema-retry helpers.
|
|
12
|
+
*
|
|
13
|
+
* ## One name that exists twice, said out loud
|
|
14
|
+
*
|
|
15
|
+
* `CircuitOpenError` is TWO different classes: the decorator throws one
|
|
16
|
+
* (`src/resilience/withCircuitBreaker.ts`), the reliability gate throws
|
|
17
|
+
* another (`src/reliability/CircuitBreaker.ts`), and they differ in
|
|
18
|
+
* constructor and in `instanceof`. This door carries the DECORATOR's — the
|
|
19
|
+
* one a consumer catches, since it is the one that escapes a provider call.
|
|
20
|
+
*
|
|
21
|
+
* The gate's stays reachable at `agentfootprint/reliability` for all of 8.x.
|
|
22
|
+
* If you `instanceof`-check the error thrown by the reliability gate, keep
|
|
23
|
+
* importing it from there. Merging them would have changed the message text
|
|
24
|
+
* on one path, and this release changes packaging only.
|
|
25
|
+
*
|
|
26
|
+
* `CircuitState` also exists twice, but the two are byte-identical
|
|
27
|
+
* (`'closed' | 'open' | 'half-open'`), so the one re-exported here satisfies
|
|
28
|
+
* both and no consumer can tell the difference.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* import { withRetry, withFallback, type ReliabilityRule } from 'agentfootprint/resilience';
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
// The decorators, whole. This is also where the door's `CircuitOpenError`
|
|
36
|
+
// and `CircuitState` come from — see the note above.
|
|
37
|
+
export * from '../resilience/index.js';
|
|
38
|
+
export { defaultStuckLoopRule, initialBreakerState, lastNValidationErrorsMatch, ReliabilityFailFastError, ValidationFailure, } from '../reliability/index.js';
|
|
39
|
+
//# sourceMappingURL=resilience.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resilience.js","sourceRoot":"","sources":["../../../src/doors/resilience.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,0EAA0E;AAC1E,qDAAqD;AACrD,cAAc,wBAAwB,CAAC;AAgBvC,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/security — who may do what, and with whose credentials.
|
|
3
|
+
*
|
|
4
|
+
* Two halves of the same question:
|
|
5
|
+
*
|
|
6
|
+
* • Authorization — `PermissionPolicy`, `PolicyHaltError`, the
|
|
7
|
+
* `PermissionChecker` port, the remote `agentCorePolicy` engine, and
|
|
8
|
+
* thinking-block redaction.
|
|
9
|
+
* • Identity — the `CredentialProvider` port, the credential kinds
|
|
10
|
+
* (`bearer`, `apiKey`, `basic`, `headers`), `staticTokens`,
|
|
11
|
+
* `withCredentialRetry`, and `agentCoreIdentity`.
|
|
12
|
+
*
|
|
13
|
+
* A vended credential is a secret: use it locally inside a tool's `execute`
|
|
14
|
+
* and never write it to tracked scope.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* import { PermissionPolicy, agentCoreIdentity } from 'agentfootprint/security';
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export * from '../security/index.js';
|
|
22
|
+
export * from '../identity.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* agentfootprint/security — who may do what, and with whose credentials.
|
|
3
|
+
*
|
|
4
|
+
* Two halves of the same question:
|
|
5
|
+
*
|
|
6
|
+
* • Authorization — `PermissionPolicy`, `PolicyHaltError`, the
|
|
7
|
+
* `PermissionChecker` port, the remote `agentCorePolicy` engine, and
|
|
8
|
+
* thinking-block redaction.
|
|
9
|
+
* • Identity — the `CredentialProvider` port, the credential kinds
|
|
10
|
+
* (`bearer`, `apiKey`, `basic`, `headers`), `staticTokens`,
|
|
11
|
+
* `withCredentialRetry`, and `agentCoreIdentity`.
|
|
12
|
+
*
|
|
13
|
+
* A vended credential is a secret: use it locally inside a tool's `execute`
|
|
14
|
+
* and never write it to tracked scope.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* import { PermissionPolicy, agentCoreIdentity } from 'agentfootprint/security';
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export * from '../security/index.js';
|
|
22
|
+
export * from '../identity.js';
|
|
23
|
+
//# sourceMappingURL=security.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../../src/doors/security.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
* Same mechanism as the `client` option on the store adapters (RedisStore,
|
|
33
33
|
* AgentCoreStore): the library states the surface it needs, the host owns the
|
|
34
34
|
* construction. Nothing changes for Node callers who pass nothing.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
37
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
38
|
+
* here is the same symbol on the new door, not a copy.
|
|
35
39
|
*/
|
|
36
40
|
export type { Embedder } from '../memory/embedding/types.js';
|
|
37
41
|
import type { Embedder } from '../memory/embedding/types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/embedders/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/embedders/index.ts"],"names":[],"mappings":"AAoEA;;;;;;;;;GASG;AACH,MAAM,iBAAiB,GAAqC;IAC1D,wBAAwB,EAAE,IAAI;IAC9B,wBAAwB,EAAE,IAAI;IAC9B,wBAAwB,EAAE,IAAI;CAC/B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,cAAc,CAAC,UAAiC,EAAE;IAChE,MAAM,MAAM,GACV,OAAO,CAAC,MAAM;QACd,CAAC,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACjF,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CAAC,qEAAqE,CAAC,CAAC;IACzF,CAAC;IACD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,wBAAwB,CAAC;IACxD,yEAAyE;IACzE,wEAAwE;IACxE,qEAAqE;IACrE,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC;IACrC,MAAM,UAAU,GAAG,SAAS,IAAI,iBAAiB,CA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EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChF,CAAC,CAAC;IAEF,OAAO;QACL,UAAU;QACV,KAAK,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE;YAClB,MAAM,EAAE,GAAG,MAAM,QAAQ,EAAE,CAAC;YAC5B,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACtC,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC;QACD,KAAK,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE;YACxB,MAAM,EAAE,GAAG,MAAM,QAAQ,EAAE,CAAC;YAC5B,OAAO,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACtC,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
* sessions: agentCoreSessions({ store: 'session-storage' }),
|
|
51
51
|
* });
|
|
52
52
|
* process.on('SIGTERM', () => void handle.close());
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/hosting` instead.
|
|
55
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
56
|
+
* here is the same symbol on the new door, not a copy.
|
|
53
57
|
*/
|
|
54
58
|
export { agentCoreRuntimeHost, agentCoreRuntimeWire, readAgentCoreConversation, agentCoreSessions, DEFAULT_SESSION_STORAGE_PATH, } from './adapters/hosting/agentcore.js';
|
|
55
59
|
export type { AgentCoreRuntimeHostOptions, AgentCoreSessionsOptions, AgentCoreSessionStore, AgentCoreFileSessionsOptions, AgentCoreMemorySessionsOptions, AgentCoreSessionClientLike, AgentCoreSessionEvent, BedrockAgentCoreSessionSdkModule, } from './adapters/hosting/agentcore.js';
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
* sessions: agentCoreSessions({ store: 'session-storage' }),
|
|
51
51
|
* });
|
|
52
52
|
* process.on('SIGTERM', () => void handle.close());
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/hosting` instead.
|
|
55
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
56
|
+
* here is the same symbol on the new door, not a copy.
|
|
53
57
|
*/
|
|
54
58
|
export { agentCoreRuntimeHost, agentCoreRuntimeWire, readAgentCoreConversation, agentCoreSessions, DEFAULT_SESSION_STORAGE_PATH, } from './adapters/hosting/agentcore.js';
|
|
55
59
|
//# sourceMappingURL=hosting-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-providers.js","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"hosting-providers.js","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC"}
|
package/dist/esm/identity.d.ts
CHANGED
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
* callGitHub({ headers: r.credential.toHeaders() }); // universal applicator
|
|
23
23
|
* }
|
|
24
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/security` instead.
|
|
27
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
28
|
+
* here is the same symbol on the new door, not a copy.
|
|
25
29
|
*/
|
|
26
30
|
export type { Credential, CredentialProvider, CredentialRequest, CredentialResult, CredentialIssued, CredentialAuthorizationRequired, CredentialNeed, } from './identity/types.js';
|
|
27
31
|
export { isCredentialIssued, unconfiguredCredentialProvider } from './identity/types.js';
|
package/dist/esm/identity.js
CHANGED
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
* callGitHub({ headers: r.credential.toHeaders() }); // universal applicator
|
|
23
23
|
* }
|
|
24
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/security` instead.
|
|
27
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
28
|
+
* here is the same symbol on the new door, not a copy.
|
|
25
29
|
*/
|
|
26
30
|
export { isCredentialIssued, unconfiguredCredentialProvider } from './identity/types.js';
|
|
27
31
|
export { bearer, apiKey, basic, headers, } from './identity/kinds.js';
|
package/dist/esm/identity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/identity.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAWH,OAAO,EAAE,kBAAkB,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,OAAO,GAKR,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAA4B,MAAM,4BAA4B,CAAC;AACpF,OAAO,EACL,mBAAmB,GAEpB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,GAIlB,MAAM,kCAAkC,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { pauseHere, askHuman, isPauseRequest, isPaused, isCheckInPause, isAskPau
|
|
|
21
21
|
export { allow, ask, deny, MessageDeniedError, type AllowOutcome, type AskOutcome, type AskPayload, type DenyOutcome, type MessageDeniedContext, type MessageMiddleware, type MessageMiddlewareContext, type MessageOutcome, type MiddlewareDecision, type ToolCallMiddleware, type ToolMiddleware, type ToolMiddlewareContext, type ToolOutcome, type ToolResultContext, type ToolResultMiddleware, type ToolResultOutcome, } from './core/agent/middleware/index.js';
|
|
22
22
|
export { LOOP_MOMENTS, actKeyFor, type ActKey, type LoopMoment } from './core/agent/moments.js';
|
|
23
23
|
export { ACT_KEYS, type ActOptions } from './core/agent/act.js';
|
|
24
|
+
export type { Watcher } from './core/agent/watch.js';
|
|
24
25
|
export { checkInApproved, checkInDeclined, isCheckInDecision, lexicalDriverScorer, standardEvidenceAssembler, minimalEvidenceAssembler, type CheckInRequest, type CheckInEvidence, type CheckInContextFrame, type CheckInDriver, type CheckInTrail, type CheckInDecision, type CheckInDecisionInput, type CheckInDemand, type CheckInPredicateContext, type CheckInScorer, type CheckInScoreInput, type CheckInAssembler, type CheckInAssemblerInput, type EvidencePreset, type CheckInBuilderOptions, } from './core/checkin.js';
|
|
25
26
|
export type { AttributionUnit } from './lib/influence-core/types.js';
|
|
26
27
|
export { CheckInRecorder, type CheckInRequestRecord, type CheckInDecisionRecord, type CheckInStats, } from './recorders/core/CheckInRecorder.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,oEAAoE;AACpE,8DAA8D;AAC9D,uEAAuE;AACvE,kEAAkE;AAClE,sEAAsE;AACtE,sDAAsD;AACtD,OAAO,8CAA8C,CAAC;AACtD,OAAO,2CAA2C,CAAC;AACnD,OAAO,4CAA4C,CAAC;AAsCpD,6BAA6B;AAC7B,cAAc,qBAAqB,CAAC;AAEpC,yEAAyE;AACzE,uDAAuD;AACvD,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc;AAEd,yEAAyE;AACzE,wEAAwE;AACxE,yEAAyE;AACzE,gBAAgB;AAChB,SAAS;AAET,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,6DAA6D;AAC7D,YAAY,GAGb,M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ChE,6CAA6C;AAC7C,EAAE;AACF,2FAA2F;AAC3F,wFAAwF;AAExF,OAAO,EACL,eAAe,GAIhB,MAAM,kCAAkC,CAAC;AAE1C,+DAA+D;AAE/D,oEAAoE;AACpE,gEAAgE;AAEhE,qEAAqE;AACrE,0DAA0D;AAC1D,cAAc,qBAAqB,CAAC;AAEpC,uEAAuE;AACvE,uEAAuE;AACvE,oEAAoE;AACpE,sEAAsE;AACtE,8CAA8C;AAE9C,wEAAwE;AACxE,sEAAsE;AACtE,sEAAsE;AACtE,OAAO,EACL,SAAS,EAET,cAAc,GAGf,MAAM,oBAAoB,CAAC;AAE5B,qEAAqE;AACrE,wEAAwE;AACxE,uEAAuE;AACvE,oEAAoE;AACpE,8DAA8D;AAC9D,wEAAwE;AACxE,gDAAgD;AAChD,wEAAwE;AACxE,gEAAgE;AAEhE,wEAAwE;AACxE,wEAAwE;AACxE,uDAAuD;AAEvD,mEAAmE;AACnE,oEAAoE;AACpE,sDAAsD"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* agentfootprint/injection-engine — public re-export for the InjectionEngine subsystem.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/context` instead.
|
|
5
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
6
|
+
* here is the same symbol on the new door, not a copy.
|
|
3
7
|
*/
|
|
4
8
|
export * from './lib/injection-engine/index.js';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* agentfootprint/injection-engine — public re-export for the InjectionEngine subsystem.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/context` instead.
|
|
5
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
6
|
+
* here is the same symbol on the new door, not a copy.
|
|
3
7
|
*/
|
|
4
8
|
export * from './lib/injection-engine/index.js';
|
|
5
9
|
//# sourceMappingURL=injection-engine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injection-engine.js","sourceRoot":"","sources":["../../src/injection-engine.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"injection-engine.js","sourceRoot":"","sources":["../../src/injection-engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iCAAiC,CAAC"}
|
|
@@ -22,5 +22,9 @@
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* import { mock, AnthropicProvider } from 'agentfootprint/llm-providers';
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
27
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
28
|
+
* here is the same symbol on the new door, not a copy.
|
|
25
29
|
*/
|
|
26
30
|
export * from './providers.js';
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* import { mock, AnthropicProvider } from 'agentfootprint/llm-providers';
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
27
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
28
|
+
* here is the same symbol on the new door, not a copy.
|
|
25
29
|
*/
|
|
26
30
|
export * from './providers.js';
|
|
27
31
|
//# sourceMappingURL=llm-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm-providers.js","sourceRoot":"","sources":["../../src/llm-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"llm-providers.js","sourceRoot":"","sources":["../../src/llm-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,cAAc,gBAAgB,CAAC"}
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
* const myCatalog = composeMessages(defaultCommentaryMessages, customOverrides);
|
|
59
59
|
* validateMessages(myCatalog, Object.keys(defaultCommentaryMessages));
|
|
60
60
|
* // throws on first missing OR empty key — fail-fast at boot
|
|
61
|
+
*
|
|
62
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
63
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
64
|
+
* here is the same symbol on the new door, not a copy.
|
|
61
65
|
*/
|
|
62
66
|
import { defaultStatusTemplates } from '../recorders/observability/status/statusTemplates.js';
|
|
63
67
|
export type { CommentaryTemplates as MessageCatalog } from '../recorders/observability/commentary/commentaryTemplates.js';
|