@deepstrike/sdk 0.2.40 → 0.2.41
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/README.md +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/memory/public.d.ts +3 -0
- package/dist/memory/public.js +2 -0
- package/dist/memory/ranking.d.ts +1 -2
- package/dist/os/public.d.ts +2 -1
- package/dist/os/public.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,13 +88,13 @@ The root export is the **intent layer** — what you reach for to run an agent,
|
|
|
88
88
|
|
|
89
89
|
| Import | Contains |
|
|
90
90
|
|--------|----------|
|
|
91
|
-
| `@deepstrike/sdk` | `runAgent` · `runFanout` · `RuntimeRunner` · `tool` · `LocalExecutionPlane` · `InMemorySessionLog`/`FileSessionLog` · `AnthropicProvider`/`OpenAIProvider`/`OpenAIResponsesProvider` · `createProvider` · `Governance` · `AgentPool` · core types |
|
|
91
|
+
| `@deepstrike/sdk` | `runAgent` · `runFanout` · `RuntimeRunner` · `tool` · `LocalExecutionPlane` · `InMemorySessionLog`/`FileSessionLog` · `AnthropicProvider`/`OpenAIProvider`/`OpenAIResponsesProvider` · `createProvider` · `Governance` · `AgentPool` · `operationAbortSignal` · core types |
|
|
92
92
|
| `@deepstrike/sdk/providers` | backend factories (`deepseek`, `kimi`, `qwen`, `glm`, `minimax`, `gemini`, `ollama`), profiles, `CircuitBreaker` |
|
|
93
93
|
| `@deepstrike/sdk/workflow` | `SubAgentOrchestrator`, `spawnStandalone`, reducers, contracts, handoff/modes, agent + spec types |
|
|
94
94
|
| `@deepstrike/sdk/planes` | `WorktreeExecutionPlane`, `ProcessSandboxPlane`, `McpProxyPlane`, `RemoteVpcPlane`, archive/credential stores |
|
|
95
|
-
| `@deepstrike/sdk/memory` | `DreamStore`, `WorkingMemory`, `InMemoryDreamStore`, `KnowledgeSource` |
|
|
95
|
+
| `@deepstrike/sdk/memory` | `DreamStore`, `WorkingMemory`, `InMemoryDreamStore`, `rankMemories`, `extractSessionMemories`, `KnowledgeSource` |
|
|
96
96
|
| `@deepstrike/sdk/harness` | `AttemptLoop`, body/judge/carry policies, `judge` |
|
|
97
|
-
| `@deepstrike/sdk/os` | profiles, `KernelPrimitivesDashboard`, signals, `PermissionManager`, replay-testing utilities |
|
|
97
|
+
| `@deepstrike/sdk/os` | profiles, `KernelPrimitivesDashboard`, `primitiveForKind` / `KernelPrimitive`, signals, `PermissionManager`, replay-testing utilities |
|
|
98
98
|
|
|
99
99
|
> **Migration from 0.2.x:** the kernel-lowering converters (`*ToKernel`), low-level prompt/eval builders, and the `OpenAIChatProvider` alias are no longer exported from root; backend providers, planes, memory, harness, and OS utilities moved to the subpaths above. See [`MIGRATION-v0.2.300.md`](./MIGRATION-v0.2.300.md).
|
|
100
100
|
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type { RunGroup, GroupBudgetStore, GroupLedger, GroupCharge, GroupMember,
|
|
|
22
22
|
export { InMemoryEventStream, isVisibleTo } from "./runtime/event-stream.js";
|
|
23
23
|
export type { EventStream, EventStreamOptions, BlackboardEvent, EventViewer } from "./runtime/event-stream.js";
|
|
24
24
|
export type { ObserverFailure, ObserverErrorHandler } from "./runtime/reliability.js";
|
|
25
|
-
export { ManagedTaskScope } from "./runtime/reliability.js";
|
|
25
|
+
export { ManagedTaskScope, operationAbortSignal } from "./runtime/reliability.js";
|
|
26
26
|
export type { OperationContext, BackgroundTaskFailure, BackgroundTaskErrorHandler } from "./runtime/reliability.js";
|
|
27
27
|
export { reactByMention, directorDriven, roundRobin, firstNonEmpty, union } from "./runtime/turn-policy.js";
|
|
28
28
|
export type { TurnPolicy, PeerView } from "./runtime/turn-policy.js";
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ export { InMemorySessionLog, FileSessionLog } from "./runtime/session-log.js";
|
|
|
24
24
|
export { KERNEL_LOG_RECORD_VERSION, KernelLogConflictError, KernelLogIntegrityError, canonicalKernelJson, createKernelOperationGenesis, createKernelTransaction, kernelRecordDigest, verifyKernelOperationGenesis, verifyKernelTransaction, verifyKernelTransactionStream, verifyKernelTransactionSuccessor, } from "./runtime/kernel-transaction-log.js";
|
|
25
25
|
export { InMemoryGroupBudgetStore, GroupBudgetScope } from "./runtime/run-group.js";
|
|
26
26
|
export { InMemoryEventStream, isVisibleTo } from "./runtime/event-stream.js";
|
|
27
|
-
export { ManagedTaskScope } from "./runtime/reliability.js";
|
|
27
|
+
export { ManagedTaskScope, operationAbortSignal } from "./runtime/reliability.js";
|
|
28
28
|
export { reactByMention, directorDriven, roundRobin, firstNonEmpty, union } from "./runtime/turn-policy.js";
|
|
29
29
|
export { ReactiveSession, readRecentTool } from "./runtime/reactive-session.js";
|
|
30
30
|
export { InMemoryReactionCheckpointStore, ReactionInProgressError } from "./runtime/reaction-checkpoint.js";
|
package/dist/memory/public.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ export { WorkingMemory } from "./working.js";
|
|
|
2
2
|
export { InMemoryDreamStore } from "./in-memory-store.js";
|
|
3
3
|
export type { InMemoryDreamStoreOptions } from "./in-memory-store.js";
|
|
4
4
|
export { memoryRetentionScore } from "./retention.js";
|
|
5
|
+
export { rankMemories } from "./ranking.js";
|
|
6
|
+
export type { RankableMemory, RankedMemory, RankOptions } from "./ranking.js";
|
|
7
|
+
export { extractSessionMemories, parseExtractedMemories } from "./extraction.js";
|
|
5
8
|
export type { DreamStore, SessionData, SessionMessage, MemoryRecord, MemoryRecall, MemoryQuery, MemoryScope, MemoryProvenance, MemoryRecallLifecycle, MemoryKind, MemoryAuthor, MemoryTrustLevel, } from "./protocols.js";
|
|
6
9
|
export type { KnowledgeSource } from "../knowledge/source.js";
|
package/dist/memory/public.js
CHANGED
|
@@ -2,3 +2,5 @@
|
|
|
2
2
|
export { WorkingMemory } from "./working.js";
|
|
3
3
|
export { InMemoryDreamStore } from "./in-memory-store.js";
|
|
4
4
|
export { memoryRetentionScore } from "./retention.js";
|
|
5
|
+
export { rankMemories } from "./ranking.js";
|
|
6
|
+
export { extractSessionMemories, parseExtractedMemories } from "./extraction.js";
|
package/dist/memory/ranking.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface RankableMemory<T> {
|
|
1
|
+
export interface RankableMemory<T> {
|
|
2
2
|
value: T;
|
|
3
3
|
searchableText: string;
|
|
4
4
|
updatedAt: number;
|
|
@@ -30,4 +30,3 @@ export interface RankOptions {
|
|
|
30
30
|
* The score is relevance, deliberately distinct from the record's stored confidence.
|
|
31
31
|
*/
|
|
32
32
|
export declare function rankMemories<T>(query: string, candidates: Array<RankableMemory<T>>, topK: number, opts?: RankOptions): Array<RankedMemory<T>>;
|
|
33
|
-
export {};
|
package/dist/os/public.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export { DEFAULT_NATIVE_SIGNAL_POLICY, DEFAULT_NATIVE_GOVERNANCE_POLICY, assertN
|
|
|
2
2
|
export type { NativeOsProfile, OsProfileId, SignalPolicy } from "../runtime/os-profile.js";
|
|
3
3
|
export { rebuildOsSnapshotFromSessionEvents } from "../runtime/os-snapshot.js";
|
|
4
4
|
export type { OsSnapshot } from "../runtime/os-snapshot.js";
|
|
5
|
-
export type { KernelEventCategory } from "../runtime/kernel-event-log.js";
|
|
5
|
+
export type { KernelEventCategory, KernelPrimitive } from "../runtime/kernel-event-log.js";
|
|
6
|
+
export { primitiveForCategory, primitiveForKind } from "../runtime/kernel-event-log.js";
|
|
6
7
|
export { KernelPrimitivesDashboard } from "../runtime/kernel-primitives-dashboard.js";
|
|
7
8
|
export type { MemoryPolicy, MemoryWriteRateLimit, ResourceQuota } from "../kernel.js";
|
|
8
9
|
export type { PromptBudget, SchedulerPolicy } from "../runtime/runner.js";
|
package/dist/os/public.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// and the scheduler/quota/policy types referenced by advanced `RuntimeOptions` fields.
|
|
3
3
|
export { DEFAULT_NATIVE_SIGNAL_POLICY, DEFAULT_NATIVE_GOVERNANCE_POLICY, assertNativeProfile, osProfile, } from "../runtime/os-profile.js";
|
|
4
4
|
export { rebuildOsSnapshotFromSessionEvents } from "../runtime/os-snapshot.js";
|
|
5
|
+
export { primitiveForCategory, primitiveForKind } from "../runtime/kernel-event-log.js";
|
|
5
6
|
export { KernelPrimitivesDashboard } from "../runtime/kernel-primitives-dashboard.js";
|
|
6
7
|
// Signals + SDK-side permissions.
|
|
7
8
|
export { ScheduledPrompt } from "../signals/scheduled.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepstrike/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
4
4
|
"description": "DeepStrike Node.js SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@anthropic-ai/sdk": "^0.99.0",
|
|
75
|
-
"@deepstrike/core": "0.2.
|
|
75
|
+
"@deepstrike/core": "0.2.41",
|
|
76
76
|
"@google/generative-ai": "^0.24.1",
|
|
77
77
|
"openai": "^5.23.2"
|
|
78
78
|
},
|