agentfootprint 7.27.1 → 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 +32 -7
- 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/index.d.ts +9 -0
- package/dist/esm/hosting/index.js +8 -0
- package/dist/esm/hosting/index.js.map +1 -1
- package/dist/esm/hosting/memorySessions.d.ts +3 -0
- package/dist/esm/hosting/memorySessions.js +3 -0
- package/dist/esm/hosting/memorySessions.js.map +1 -1
- package/dist/esm/hosting/sqliteSessions.d.ts +211 -0
- package/dist/esm/hosting/sqliteSessions.js +370 -0
- package/dist/esm/hosting/sqliteSessions.js.map +1 -0
- 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/index.js +12 -1
- package/dist/hosting/index.js.map +1 -1
- package/dist/hosting/memorySessions.js +3 -0
- package/dist/hosting/memorySessions.js.map +1 -1
- package/dist/hosting/sqliteSessions.js +376 -0
- package/dist/hosting/sqliteSessions.js.map +1 -0
- 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/index.d.ts +9 -0
- package/dist/types/hosting/index.d.ts.map +1 -1
- package/dist/types/hosting/memorySessions.d.ts +3 -0
- package/dist/types/hosting/memorySessions.d.ts.map +1 -1
- package/dist/types/hosting/sqliteSessions.d.ts +212 -0
- package/dist/types/hosting/sqliteSessions.d.ts.map +1 -0
- 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/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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GAMN,MAAM,sBAAsB,CAAC;AAE9B,2BAA2B;AAC3B,8EAA8E;AAC9E,wEAAwE;AACxE,mEAAmE;AACnE,qEAAqE;AACrE,EAAE;AACF,kEAAkE;AAClE,qEAAqE;AACrE,wEAAwE;AACxE,gEAAgE;AAChE,gEAAgE;AAChE,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';
|
|
@@ -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 { defaultCommentaryTemplates } from '../recorders/observability/commentary/commentaryTemplates.js';
|
|
63
67
|
import { defaultStatusTemplates } from '../recorders/observability/status/statusTemplates.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/locales/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/locales/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IACvD,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,KAAK,CAAC,IAAI,CAAC,iBAAiB,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrB,KAAK,CAAC,IAAI,CAAC,iBAAiB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,oBAAoB,KAAK,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACtE,CAAC"}
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* import { RedisStore, AgentCoreStore } from 'agentfootprint/memory-providers';
|
|
34
|
+
*
|
|
35
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/memory` instead.
|
|
36
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
37
|
+
* here is the same symbol on the new door, not a copy.
|
|
34
38
|
*/
|
|
35
39
|
export { RedisStore, type RedisStoreOptions, type RedisLikeClient, type RedisLikePipeline, } from './adapters/memory/redis.js';
|
|
36
40
|
export { AgentCoreStore, UnreadableMemoryEntryError, type AgentCoreStoreOptions, type AgentCoreLikeClient, type AgentCoreEvent, type AgentCoreMemoryRecord, } from './adapters/memory/agentcore.js';
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* import { RedisStore, AgentCoreStore } from 'agentfootprint/memory-providers';
|
|
34
|
+
*
|
|
35
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/memory` instead.
|
|
36
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
37
|
+
* here is the same symbol on the new door, not a copy.
|
|
34
38
|
*/
|
|
35
39
|
// Lazy-required peer-dep stores. Both adapters defer their vendor SDK
|
|
36
40
|
// `require()` to constructor time; importing this barrel doesn't load
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-providers.js","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"memory-providers.js","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,sEAAsE;AACtE,sEAAsE;AACtE,wDAAwD;AACxD,OAAO,EACL,UAAU,GAIX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,cAAc,EACd,0BAA0B,GAK3B,MAAM,gCAAgC,CAAC;AAExC,8EAA8E;AAC9E,yEAAyE;AACzE,OAAO,EACL,kBAAkB,GAInB,MAAM,yCAAyC,CAAC"}
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
* Tree-shakeable: one finder = one file = one named export. Importing one finder does
|
|
13
13
|
* not pull the others (or the heavy ablation path behind removeAndRetry). This barrel
|
|
14
14
|
* is re-export-only — no runtime code, no registry.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
17
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
18
|
+
* here is the same symbol on the new door, not a copy.
|
|
15
19
|
*/
|
|
16
20
|
export type { ContextPiece, Evidence, Finder, FinderMeta, FindInput, FindResult, Granularity, ScoredSuspect, StepInput, } from './types.js';
|
|
17
21
|
export { rankSuspects } from './rankSuspects.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/observability/contextError/finders/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/observability/contextError/finders/index.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAmB,MAAM,qBAAqB,CAAC"}
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
* and `otelObservability` covers the Datadog use case. We'll ship a
|
|
38
38
|
* dedicated `dd-trace`-based adapter only if real-world feedback
|
|
39
39
|
* demands the native Datadog APM client.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
42
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
43
|
+
* here is the same symbol on the new door, not a copy.
|
|
40
44
|
*/
|
|
41
45
|
export { agentcoreObservability, type AgentcoreObservabilityOptions, } from './adapters/observability/agentcore.js';
|
|
42
46
|
export { cloudwatchObservability, type CloudwatchObservabilityOptions, } from './adapters/observability/cloudwatch.js';
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
* and `otelObservability` covers the Datadog use case. We'll ship a
|
|
38
38
|
* dedicated `dd-trace`-based adapter only if real-world feedback
|
|
39
39
|
* demands the native Datadog APM client.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
42
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
43
|
+
* here is the same symbol on the new door, not a copy.
|
|
40
44
|
*/
|
|
41
45
|
export { agentcoreObservability, } from './adapters/observability/agentcore.js';
|
|
42
46
|
export { cloudwatchObservability, } from './adapters/observability/cloudwatch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observability-providers.js","sourceRoot":"","sources":["../../src/observability-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"observability-providers.js","sourceRoot":"","sources":["../../src/observability-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EACL,sBAAsB,GAEvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,uBAAuB,GAExB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iBAAiB,GAGlB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iBAAiB,GAQlB,MAAM,kCAAkC,CAAC;AAC1C,sEAAsE;AACtE,sEAAsE;AACtE,8CAA8C;AAC9C,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,GAOhB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -27,6 +27,14 @@
|
|
|
27
27
|
* }
|
|
28
28
|
* }
|
|
29
29
|
* ```
|
|
30
|
+
*
|
|
31
|
+
* `CircuitOpenError` is the one name that does NOT move: the gate throws a
|
|
32
|
+
* different class than the provider decorator does, so this path stays the
|
|
33
|
+
* only home for it. Everything else here is also on the new door.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/resilience` instead.
|
|
36
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
37
|
+
* here is the same symbol on the new door, not a copy.
|
|
30
38
|
*/
|
|
31
39
|
export type { CircuitBreakerConfig, ReliabilityConfig, ReliabilityDecision, ReliabilityFallbackFn, ReliabilityProvider, ReliabilityRule, ReliabilityScope, } from './types.js';
|
|
32
40
|
export { ReliabilityFailFastError } from './types.js';
|
|
@@ -27,6 +27,14 @@
|
|
|
27
27
|
* }
|
|
28
28
|
* }
|
|
29
29
|
* ```
|
|
30
|
+
*
|
|
31
|
+
* `CircuitOpenError` is the one name that does NOT move: the gate throws a
|
|
32
|
+
* different class than the provider decorator does, so this path stays the
|
|
33
|
+
* only home for it. Everything else here is also on the new door.
|
|
34
|
+
*
|
|
35
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/resilience` instead.
|
|
36
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
37
|
+
* here is the same symbol on the new door, not a copy.
|
|
30
38
|
*/
|
|
31
39
|
export { ReliabilityFailFastError } from './types.js';
|
|
32
40
|
// CircuitBreaker pure-state-machine surface — exposed so consumers can
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reliability/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reliability/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAYH,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,uEAAuE;AACvE,qEAAqE;AACrE,+DAA+D;AAC/D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GAGpB,MAAM,qBAAqB,CAAC;AAE7B,wEAAwE;AACxE,mEAAmE;AACnE,+DAA+D;AAC/D,sEAAsE;AACtE,mEAAmE;AACnE,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,8CAA8C,CAAC"}
|
package/dist/esm/status.d.ts
CHANGED
|
@@ -50,5 +50,9 @@
|
|
|
50
50
|
* └──────────┘
|
|
51
51
|
*
|
|
52
52
|
* (null) run done / between calls → bubble hidden
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` 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 { selectStatus, renderStatusLine, type StatusState, type StatusKind, type StatusTemplates, type StatusContext, } from './recorders/observability/status/statusTemplates.js';
|
package/dist/esm/status.js
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
* └──────────┘
|
|
51
51
|
*
|
|
52
52
|
* (null) run done / between calls → bubble hidden
|
|
53
|
+
*
|
|
54
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` 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
|
// Logic only — the status state machine + renderer. The prose catalog
|
|
55
59
|
// (`defaultStatusTemplates`) lives on `agentfootprint/locales`, the single
|
package/dist/esm/status.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/status.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH,sEAAsE;AACtE,2EAA2E;AAC3E,iEAAiE;AACjE,OAAO,EACL,YAAY,EACZ,gBAAgB,GAKjB,MAAM,qDAAqD,CAAC"}
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
* so consumers who never call a particular factory don't have to
|
|
30
30
|
* install that SDK. Peer-deps are declared in package.json with
|
|
31
31
|
* `peerDependenciesMeta.{name}.optional = true`.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
34
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
35
|
+
* here is the same symbol on the new door, not a copy.
|
|
32
36
|
*/
|
|
33
37
|
export * from './types.js';
|
|
34
38
|
export * from './defaults/index.js';
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
* so consumers who never call a particular factory don't have to
|
|
30
30
|
* install that SDK. Peer-deps are declared in package.json with
|
|
31
31
|
* `peerDependenciesMeta.{name}.optional = true`.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
34
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
35
|
+
* here is the same symbol on the new door, not a copy.
|
|
32
36
|
*/
|
|
33
37
|
export * from './types.js';
|
|
34
38
|
export * from './defaults/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/strategies/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/strategies/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,wBAAwB,GAIzB,MAAM,aAAa,CAAC"}
|
package/dist/esm/stream.d.ts
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* framework that accepts an async iterable response body
|
|
8
8
|
* (Fetch Response, Express res.write, Hono streaming, etc.).
|
|
9
9
|
* Emits: N/A — observes only.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
12
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
13
|
+
* here is the same symbol on the new door, not a copy.
|
|
10
14
|
*/
|
|
11
15
|
import type { AgentfootprintEvent } from './events/registry.js';
|
|
12
16
|
import type { RunnerBase } from './core/RunnerBase.js';
|
package/dist/esm/stream.js
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
* framework that accepts an async iterable response body
|
|
8
8
|
* (Fetch Response, Express res.write, Hono streaming, etc.).
|
|
9
9
|
* Emits: N/A — observes only.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
|
|
12
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
13
|
+
* here is the same symbol on the new door, not a copy.
|
|
10
14
|
*/
|
|
11
15
|
/**
|
|
12
16
|
* Subscribe to a runner's `EventDispatcher` and yield SSE-formatted
|
package/dist/esm/stream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../src/stream.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../src/stream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAsDH;;;GAGG;AACH,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC,KAAK,CAC1B,MAA6B,EAC7B,UAAwB,EAAE;IAE1B,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC;IACxC,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC,CAAsB,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC5E,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,CAAC,CAAC;IAE7C,+DAA+D;IAC/D,+DAA+D;IAC/D,0DAA0D;IAC1D,MAAM,UAAU,GAAI,MAAqD,CAAC,UAAU,CAAC;IAErF,0DAA0D;IAC1D,MAAM,KAAK,GAA0B,EAAE,CAAC;IACxC,IAAI,MAAM,GAAmC,IAAI,CAA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43,10 @@
|
|
|
43
43
|
* framework — emit `agentfootprint.agent.thinking_parse_failed`, drop
|
|
44
44
|
* the blocks, continue. Same graceful pattern as v2.11.6
|
|
45
45
|
* `tools.discovery_failed`.
|
|
46
|
+
*
|
|
47
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
48
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
49
|
+
* here is the same symbol on the new door, not a copy.
|
|
46
50
|
*/
|
|
47
51
|
export type { ThinkingBlock, ThinkingHandler } from './types.js';
|
|
48
52
|
export { mockThinkingHandler, mockAnthropicRaw, mockOpenAIRaw } from './MockThinkingHandler.js';
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
* framework — emit `agentfootprint.agent.thinking_parse_failed`, drop
|
|
44
44
|
* the blocks, continue. Same graceful pattern as v2.11.6
|
|
45
45
|
* `tools.discovery_failed`.
|
|
46
|
+
*
|
|
47
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
48
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
49
|
+
* here is the same symbol on the new door, not a copy.
|
|
46
50
|
*/
|
|
47
51
|
export { mockThinkingHandler, mockAnthropicRaw, mockOpenAIRaw } from './MockThinkingHandler.js';
|
|
48
52
|
export { anthropicThinkingHandler } from './AnthropicThinkingHandler.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/thinking/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/thinking/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAIH,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEhG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
* const slack = await mcpClient({ transport: ... });
|
|
43
43
|
* const slackTools = await slack.tools();
|
|
44
44
|
* const provider = gatedTools(staticTools(slackTools), (name) => allowed(name));
|
|
45
|
+
*
|
|
46
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
47
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
48
|
+
* here is the same symbol on the new door, not a copy.
|
|
45
49
|
*/
|
|
46
50
|
export { staticTools } from './staticTools.js';
|
|
47
51
|
export { gatedTools } from './gatedTools.js';
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
* const slack = await mcpClient({ transport: ... });
|
|
43
43
|
* const slackTools = await slack.tools();
|
|
44
44
|
* const provider = gatedTools(staticTools(slackTools), (name) => allowed(name));
|
|
45
|
+
*
|
|
46
|
+
* @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
|
|
47
|
+
* This path keeps working for all of 8.x and is removed in 9.0.0. Every name
|
|
48
|
+
* here is the same symbol on the new door, not a copy.
|
|
45
49
|
*/
|
|
46
50
|
export { staticTools } from './staticTools.js';
|
|
47
51
|
export { gatedTools } from './gatedTools.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,uEAAuE;AACvE,wEAAwE;AACxE,0CAA0C;AAC1C,OAAO,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC"}
|
package/dist/hosting/index.js
CHANGED
|
@@ -51,6 +51,13 @@
|
|
|
51
51
|
* purpose: hiding a cap inside auto-chunking decides a protocol question
|
|
52
52
|
* for every consumer at once.
|
|
53
53
|
* • `memorySessions()` — conversations in a Map, for tests and local dev.
|
|
54
|
+
* • `sqliteSessions({ file })` — the same port, in a file, so a restart is not
|
|
55
|
+
* an amnesia event. Conversations AND runs paused waiting on a person, in
|
|
56
|
+
* one table, on Node's built-in `node:sqlite` — nothing to install and no
|
|
57
|
+
* peer dependency. One machine, one file, one writer at a time is the
|
|
58
|
+
* stated ceiling; it is not a distributed store. Refuses BY NAME on a Node
|
|
59
|
+
* without `node:sqlite` rather than falling back to memory, because a store
|
|
60
|
+
* that silently forgot everything looks exactly like a new user.
|
|
54
61
|
* • `standingAgent({ agent, sessions, host, durability? })` — the composer.
|
|
55
62
|
* • `toEnvelope` / `readEnvelope` — pack a conversation, and refuse by name to
|
|
56
63
|
* unpack a format this runtime does not know.
|
|
@@ -75,7 +82,7 @@
|
|
|
75
82
|
* process.on('SIGTERM', () => void handle.close());
|
|
76
83
|
*/
|
|
77
84
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
|
-
exports.FrameTooLargeError = exports.ConversationClosedError = exports.UnreadableEnvelopeError = exports.NoPendingAskError = exports.AwaitingDecisionError = exports.PauseNotCarriedError = exports.ConcurrentRunError = exports.HostClosedError = exports.requireCapability = exports.standingAgent = exports.checkEnvelope = exports.readPausedRun = exports.readEnvelope = exports.toPausedEnvelope = exports.toEnvelope = exports.memorySessions = exports.headerValue = exports.httpHost = exports.jsonWire = exports.nodeHost = void 0;
|
|
85
|
+
exports.FrameTooLargeError = exports.ConversationClosedError = exports.UnreadableEnvelopeError = exports.NoPendingAskError = exports.AwaitingDecisionError = exports.PauseNotCarriedError = exports.ConcurrentRunError = exports.HostClosedError = exports.requireCapability = exports.standingAgent = exports.checkEnvelope = exports.readPausedRun = exports.readEnvelope = exports.toPausedEnvelope = exports.toEnvelope = exports.UnreadableSessionFileError = exports.SqliteUnavailableError = exports.sqliteSessions = exports.memorySessions = exports.headerValue = exports.httpHost = exports.jsonWire = exports.nodeHost = void 0;
|
|
79
86
|
var nodeHost_js_1 = require("./nodeHost.js");
|
|
80
87
|
Object.defineProperty(exports, "nodeHost", { enumerable: true, get: function () { return nodeHost_js_1.nodeHost; } });
|
|
81
88
|
Object.defineProperty(exports, "jsonWire", { enumerable: true, get: function () { return nodeHost_js_1.jsonWire; } });
|
|
@@ -84,6 +91,10 @@ Object.defineProperty(exports, "httpHost", { enumerable: true, get: function ()
|
|
|
84
91
|
Object.defineProperty(exports, "headerValue", { enumerable: true, get: function () { return httpHost_js_1.headerValue; } });
|
|
85
92
|
var memorySessions_js_1 = require("./memorySessions.js");
|
|
86
93
|
Object.defineProperty(exports, "memorySessions", { enumerable: true, get: function () { return memorySessions_js_1.memorySessions; } });
|
|
94
|
+
var sqliteSessions_js_1 = require("./sqliteSessions.js");
|
|
95
|
+
Object.defineProperty(exports, "sqliteSessions", { enumerable: true, get: function () { return sqliteSessions_js_1.sqliteSessions; } });
|
|
96
|
+
Object.defineProperty(exports, "SqliteUnavailableError", { enumerable: true, get: function () { return sqliteSessions_js_1.SqliteUnavailableError; } });
|
|
97
|
+
Object.defineProperty(exports, "UnreadableSessionFileError", { enumerable: true, get: function () { return sqliteSessions_js_1.UnreadableSessionFileError; } });
|
|
87
98
|
var envelope_js_1 = require("./envelope.js");
|
|
88
99
|
Object.defineProperty(exports, "toEnvelope", { enumerable: true, get: function () { return envelope_js_1.toEnvelope; } });
|
|
89
100
|
Object.defineProperty(exports, "toPausedEnvelope", { enumerable: true, get: function () { return envelope_js_1.toPausedEnvelope; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hosting/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hosting/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;;;AAEH,6CAAmD;AAA1C,uGAAA,QAAQ,OAAA;AAAE,uGAAA,QAAQ,OAAA;AAG3B,6CAAsD;AAA7C,uGAAA,QAAQ,OAAA;AAAE,0GAAA,WAAW,OAAA;AAW9B,yDAAqD;AAA5C,mHAAA,cAAc,OAAA;AACvB,yDAI6B;AAH3B,mHAAA,cAAc,OAAA;AACd,2HAAA,sBAAsB,OAAA;AACtB,+HAAA,0BAA0B,OAAA;AAM5B,6CAMuB;AALrB,yGAAA,UAAU,OAAA;AACV,+GAAA,gBAAgB,OAAA;AAChB,2GAAA,YAAY,OAAA;AACZ,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AAEf,uDAAmD;AAA1C,iHAAA,aAAa,OAAA;AAEtB,yCAUqB;AATnB,8GAAA,iBAAiB,OAAA;AACjB,4GAAA,eAAe,OAAA;AACf,+GAAA,kBAAkB,OAAA;AAClB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,8GAAA,iBAAiB,OAAA;AACjB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,+GAAA,kBAAkB,OAAA"}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
* — which is also how the "a crashed process resumes the conversation" test is
|
|
12
12
|
* written: keep the store, throw away everything else, and watch the
|
|
13
13
|
* conversation come back through the envelope alone.
|
|
14
|
+
*
|
|
15
|
+
* The next step up ships beside this one: `sqliteSessions({ file })` is the same
|
|
16
|
+
* port in a file, with nothing to install.
|
|
14
17
|
*/
|
|
15
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
19
|
exports.memorySessions = void 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memorySessions.js","sourceRoot":"","sources":["../../src/hosting/memorySessions.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"memorySessions.js","sourceRoot":"","sources":["../../src/hosting/memorySessions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAIH;;;;;;GAMG;AACH,SAAgB,cAAc;IAC5B,MAAM,MAAM,GAAG,IAAI,GAAG,EAA8B,CAAC;IACrD,OAAO;QACL,OAAO,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC9D,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE;YAC/B,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YAChC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;QAC3B,CAAC;KACF,CAAC;AACJ,CAAC;AATD,wCASC"}
|