@stackstackstack/dsh-command-compact 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +66 -0
- package/README.zh.md +66 -0
- package/lib/index.js +100 -0
- package/lib/invariant.js +23 -0
- package/lib/types/index.d.ts +13 -0
- package/lib/types/invariant.d.ts +16 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.i18n.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
2
|
+
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
|
+
# after editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/compaction/command-compact/README.md
|
|
5
|
+
README.md: b5deef6f934395841ae5530fa3c40552854319c4
|
|
6
|
+
README.zh.md: 511da7b34dcaca1a62380a1fea7167aeaac8785a
|
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# @stackstackstack/dsh-command-compact
|
|
2
|
+
|
|
3
|
+
English | [中文](README.zh.md)
|
|
4
|
+
|
|
5
|
+
Human-facing `/compact` control over [`ctx.compaction`](../compaction/README.md). The plugin registers one global command through [`ctx.commands`](../../interaction/commands/README.md), so every composed command adapter discovers and executes it without a model turn. The [queued manual compaction Agent Note](../../../.agents/notes/implemented/feature/2026-07-30-queued-manual-compaction.md) owns the admission, lock, and durability decisions.
|
|
6
|
+
|
|
7
|
+
## Command contract
|
|
8
|
+
|
|
9
|
+
| Input | Result |
|
|
10
|
+
|---|---|
|
|
11
|
+
| `/compact` | Summarize one useful balanced older span even below automatic pressure, then report the replaced history-item count and estimated tokens after the standalone bracket is flushed. |
|
|
12
|
+
| `/compact` with no compactable history | `No compactable history yet.` — no marker or surface mutation is written. |
|
|
13
|
+
| `/compact <anything>` | `Usage: /compact (no arguments)` — the command takes no arguments and calls no compaction backend. |
|
|
14
|
+
|
|
15
|
+
The command is backend-independent: it depends only on `compactNow(agent, signal)`. The invoking agent is the exact target, and the dispatching UI's cancellation signal is forwarded through the seam. Every resolved invocation records the executor-owned log-only pair `command/run` / `command/done`; neither event joins model history. On success, `command/done.sourceEventSeq` names the transaction's `compaction/summary` event so a presentation can fold the command lifecycle into its checkpoint without parsing result text or assuming adjacent rows.
|
|
16
|
+
|
|
17
|
+
Expected `ManualCompactionError` codes become stable direct errors:
|
|
18
|
+
|
|
19
|
+
| Code | Direct result |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `busy` | `Compaction is unavailable because this process has an active compaction, or the agent is not idle.` |
|
|
22
|
+
| `changed` | `The history selected for compaction changed before it could be replaced. The conversation is unchanged; the attempt is recorded in the session log.` |
|
|
23
|
+
| `summary` | `Compaction could not produce a useful summary. The conversation is unchanged; the attempt is recorded in the session log.` |
|
|
24
|
+
| `commit` | `Compaction did not finish cleanly; some session history may have changed. Inspect the current session state before retrying.` |
|
|
25
|
+
| `persistence` | `Compaction finished, but the session could not be saved.` |
|
|
26
|
+
|
|
27
|
+
The busy result is intentionally process-scoped: a live unmatched marker blocks, while a marker older than the newest `session/end-seed` is stale and does not. Unexpected implementation failures reject dispatch. Cancellation remains authoritative; the backend completes its required close/flush cleanup, and the command settles internally as `Compaction cancelled.` while the command executor stops waiting with its cancellation error. Plugin disposal first unregisters `/compact`, then drains every handler that already started, so root teardown cannot pass an aborted command's close or flush boundary.
|
|
28
|
+
|
|
29
|
+
Prompts submitted while compaction runs remain accepted in the agent's ordinary FIFO with the same identity and wakeup facts. They start only after the compaction's explicit durability checkpoint and admission release. Idle injected context is not held: it may be logged between `compaction/start` and `compaction/end`, and positional replacement leaves it visible after the checkpoint.
|
|
30
|
+
|
|
31
|
+
## Composition
|
|
32
|
+
|
|
33
|
+
The producer injects `commands` and `compact`. Mount the command registry, one backend, and this plugin:
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
- id: commands
|
|
37
|
+
name: '@stackstackstack/dsh-commands'
|
|
38
|
+
- id: compaction-basic
|
|
39
|
+
name: '@stackstackstack/dsh-compaction-basic'
|
|
40
|
+
- id: command-compact
|
|
41
|
+
name: '@stackstackstack/dsh-command-compact'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The shipped `dsh` base mounts it beside `compaction-basic`, and the Web client provides the command adapter. Automation surfaces that compose no command adapter keep automatic compaction only.
|
|
45
|
+
|
|
46
|
+
## Model Experience
|
|
47
|
+
|
|
48
|
+
### Human `/compact` control
|
|
49
|
+
|
|
50
|
+
#### What the model sees
|
|
51
|
+
|
|
52
|
+
The slash input and direct result never enter a model request. An accepted compaction separately replaces an older span with the backend's user-role checkpoint inside a standalone `compaction/* { turn: null }` bracket.
|
|
53
|
+
|
|
54
|
+
#### Token effect
|
|
55
|
+
|
|
56
|
+
The command lifecycle adds no model tokens. A successful compaction reduces later requests by replacing the selected span with one framed summary; summarization itself is one auxiliary request.
|
|
57
|
+
|
|
58
|
+
#### KV Cache effect
|
|
59
|
+
|
|
60
|
+
Discovery and command bookkeeping do not affect the cache. The accepted surface replacement invalidates reuse from the first shadowed history token.
|
|
61
|
+
|
|
62
|
+
## Known Limitations and Deferred Work
|
|
63
|
+
|
|
64
|
+
- **Idle-only** — `/compact` reports `busy` when a turn or already accepted waking prompt has right of way; the command itself is not queued.
|
|
65
|
+
- **No range or policy arguments** — the argument-free form keeps behavior stable across command adapters. Explicit ranges remain the programmatic `compactRegion()` path.
|
|
66
|
+
- **Command adapters only** — surfaces without `ctx.commands` cannot invoke it and rely on automatic pressure compaction.
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# @stackstackstack/dsh-command-compact
|
|
2
|
+
|
|
3
|
+
[English](README.md) | 中文
|
|
4
|
+
|
|
5
|
+
通过 [`ctx.compaction`](../compaction/README.md) 提供面向用户的 `/compact` 压缩(compaction)控制。该插件通过 [`ctx.commands`](../../interaction/commands/README.md) 注册一个全局命令,因此组合中的每个命令适配器都能发现并执行它,无需模型轮次。[排队手动压缩 Agent Note](../../../.agents/notes/implemented/feature/2026-07-30-queued-manual-compaction.md)拥有接纳、锁与持久性决策。
|
|
6
|
+
|
|
7
|
+
## 命令约定
|
|
8
|
+
|
|
9
|
+
| 输入 | 结果 |
|
|
10
|
+
|---|---|
|
|
11
|
+
| `/compact` | 即使未达到自动压力,也摘要一段有效、平衡的较早范围;独立标记对 flush 后,报告被替换的历史项数量与估算 token 数。 |
|
|
12
|
+
| `/compact`,但没有可压缩历史 | `No compactable history yet.`:不会写入标记,也不会变更 surface。 |
|
|
13
|
+
| `/compact <anything>` | `Usage: /compact (no arguments)`:该命令不接受参数,也不会调用压缩后端。 |
|
|
14
|
+
|
|
15
|
+
该命令与后端无关,只依赖 `compactNow(agent, signal)`。调用该命令的 agent(智能体)就是操作的确切目标,发起分发的 UI 会通过 seam 转发取消信号。每次完成的调用都会记录执行器所属的纯日志事件对 `command/run` / `command/done`;两者都不进入模型历史。成功时,`command/done.sourceEventSeq` 会指明该事务的 `compaction/summary` 事件,让呈现层无须解析结果文本或假定两行相邻,即可将命令生命周期归并到对应检查点中。
|
|
16
|
+
|
|
17
|
+
预期的 `ManualCompactionError` 代码会成为稳定的直接错误:
|
|
18
|
+
|
|
19
|
+
| 代码 | 直接结果 |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `busy` | `Compaction is unavailable because this process has an active compaction, or the agent is not idle.` |
|
|
22
|
+
| `changed` | `The history selected for compaction changed before it could be replaced. The conversation is unchanged; the attempt is recorded in the session log.` |
|
|
23
|
+
| `summary` | `Compaction could not produce a useful summary. The conversation is unchanged; the attempt is recorded in the session log.` |
|
|
24
|
+
| `commit` | `Compaction did not finish cleanly; some session history may have changed. Inspect the current session state before retrying.` |
|
|
25
|
+
| `persistence` | `Compaction finished, but the session could not be saved.` |
|
|
26
|
+
|
|
27
|
+
busy 结果有意限定在进程范围内:活动的未匹配标记会阻塞,而早于最新 `session/end-seed` 的标记已陈旧,不会阻塞。意外实现故障会拒绝分发。取消仍具有最终决定权;后端会完成必需的闭合/flush 清理,命令内部以 `Compaction cancelled.` 结算,而命令执行器会因取消错误停止等待。插件处置会先注销 `/compact`,再等待所有已开始的处理器结算,因此根级 teardown 不会越过已中止命令的闭合或 flush 边界。
|
|
28
|
+
|
|
29
|
+
压缩运行期间提交的提示词仍会按 agent 的普通 FIFO 获得接纳,保留相同的身份与唤醒信息。它们仅在压缩的显式持久性检查点和接纳预留释放后启动。空闲注入的上下文不受阻塞:它可以记录在 `compaction/start` 与 `compaction/end` 之间,位置替换会使其在检查点之后保持可见。
|
|
30
|
+
|
|
31
|
+
## 组合
|
|
32
|
+
|
|
33
|
+
生产方注入 `commands` 和 `compact`。挂载命令注册表、一个后端与本插件:
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
- id: commands
|
|
37
|
+
name: '@stackstackstack/dsh-commands'
|
|
38
|
+
- id: compaction-basic
|
|
39
|
+
name: '@stackstackstack/dsh-compaction-basic'
|
|
40
|
+
- id: command-compact
|
|
41
|
+
name: '@stackstackstack/dsh-command-compact'
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
随附 `dsh` 基础配置将它挂载在 `compaction-basic` 旁,Web 客户端提供命令适配器。未组合命令适配器的自动化接口只保留自动压缩。
|
|
45
|
+
|
|
46
|
+
## 模型体验
|
|
47
|
+
|
|
48
|
+
### 用户 `/compact` 控制
|
|
49
|
+
|
|
50
|
+
#### 模型看到什么
|
|
51
|
+
|
|
52
|
+
斜杠输入与直接结果绝不会进入模型请求。已获接纳的压缩会另外在独立的 `compaction/* { turn: null }` 标记对内,用后端的 user 角色检查点替换一段较早范围。
|
|
53
|
+
|
|
54
|
+
#### Token 影响
|
|
55
|
+
|
|
56
|
+
命令生命周期不会增加模型 token。成功压缩会用一份带框架的摘要替换所选范围,从而减少后续请求;摘要生成本身需要一次辅助请求。
|
|
57
|
+
|
|
58
|
+
#### KV Cache 影响
|
|
59
|
+
|
|
60
|
+
命令发现与簿记不会影响缓存。已获接纳的 surface 替换会从第一个被遮蔽的历史 token 起使复用失效。
|
|
61
|
+
|
|
62
|
+
## 已知限制与暂缓事项
|
|
63
|
+
|
|
64
|
+
- **仅限空闲状态**:当一个轮次或已获接纳的唤醒提示词拥有优先权时,`/compact` 会报告 `busy`;命令本身不会排队。
|
|
65
|
+
- **不接受范围或策略参数**:无参数形式使各命令适配器的行为保持稳定。显式范围仍由编程接口 `compactRegion()` 处理。
|
|
66
|
+
- **仅限命令适配器**:没有 `ctx.commands` 的接口无法调用该命令,只能依赖自动压力压缩。
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ManualCompactionError } from "@stackstackstack/dsh-compaction";
|
|
2
|
+
//#region lib/types/index.js
|
|
3
|
+
/**
|
|
4
|
+
* Human-facing `/compact` command over the backend-independent compaction seam.
|
|
5
|
+
* @module @stackstackstack/dsh-command-compact
|
|
6
|
+
*/
|
|
7
|
+
const name = "command-compact";
|
|
8
|
+
const inject = ["commands", "compaction"];
|
|
9
|
+
const USAGE = "Usage: /compact (no arguments)";
|
|
10
|
+
/** Fail loudly if a locally closed union gains an unhandled member. */
|
|
11
|
+
/* v8 ignore start -- closed-union backstop is unreachable without violating the TypeScript contract */
|
|
12
|
+
function assertNever(value) {
|
|
13
|
+
throw new TypeError(`unknown manual compaction error code: ${String(value)}`);
|
|
14
|
+
}
|
|
15
|
+
/* v8 ignore stop */
|
|
16
|
+
/** Convert expected capability failures into concise human-only outcomes. */
|
|
17
|
+
function expectedFailure(error) {
|
|
18
|
+
switch (error.code) {
|
|
19
|
+
case "busy": return {
|
|
20
|
+
kind: "error",
|
|
21
|
+
text: "Compaction is unavailable because this process has an active compaction, or the agent is not idle."
|
|
22
|
+
};
|
|
23
|
+
case "cancelled": return {
|
|
24
|
+
kind: "error",
|
|
25
|
+
text: "Compaction cancelled."
|
|
26
|
+
};
|
|
27
|
+
case "changed": return {
|
|
28
|
+
kind: "error",
|
|
29
|
+
text: "The history selected for compaction changed before it could be replaced. The conversation is unchanged; the attempt is recorded in the session log."
|
|
30
|
+
};
|
|
31
|
+
case "summary": return {
|
|
32
|
+
kind: "error",
|
|
33
|
+
text: "Compaction could not produce a useful summary. The conversation is unchanged; the attempt is recorded in the session log."
|
|
34
|
+
};
|
|
35
|
+
case "commit": return {
|
|
36
|
+
kind: "error",
|
|
37
|
+
text: "Compaction did not finish cleanly; some session history may have changed. Inspect the current session state before retrying."
|
|
38
|
+
};
|
|
39
|
+
case "persistence": return {
|
|
40
|
+
kind: "error",
|
|
41
|
+
text: "Compaction finished, but the session could not be saved."
|
|
42
|
+
};
|
|
43
|
+
/* v8 ignore next 2 -- ManualCompactionErrorCode is closed and every member is handled above */
|
|
44
|
+
default: return assertNever(error.code);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/** Execute one argument-free manual compaction request. */
|
|
48
|
+
async function executeCompact(ctx, invocation) {
|
|
49
|
+
if (invocation.rawInput.trim().length > 0) return {
|
|
50
|
+
kind: "error",
|
|
51
|
+
text: USAGE
|
|
52
|
+
};
|
|
53
|
+
try {
|
|
54
|
+
const result = await ctx.compaction.compactNow(invocation.agent, invocation.signal, invocation.commandId);
|
|
55
|
+
if (result === null) return {
|
|
56
|
+
kind: "success",
|
|
57
|
+
text: "No compactable history yet."
|
|
58
|
+
};
|
|
59
|
+
return {
|
|
60
|
+
kind: "success",
|
|
61
|
+
text: `Compacted ${result.shadowedSeqs.length} history items (~${result.shadowedTokenCount} tokens).`,
|
|
62
|
+
sourceEventSeq: result.summarySeq
|
|
63
|
+
};
|
|
64
|
+
} catch (error) {
|
|
65
|
+
if (invocation.signal.aborted) return {
|
|
66
|
+
kind: "error",
|
|
67
|
+
text: "Compaction cancelled."
|
|
68
|
+
};
|
|
69
|
+
if (error instanceof ManualCompactionError) return expectedFailure(error);
|
|
70
|
+
throw error;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Register `/compact` for every composed human-command adapter.
|
|
75
|
+
* @param ctx - context carrying the command registry and the compaction seam.
|
|
76
|
+
*/
|
|
77
|
+
function apply(ctx) {
|
|
78
|
+
const active = /* @__PURE__ */ new Set();
|
|
79
|
+
const handler = (invocation) => {
|
|
80
|
+
const operation = executeCompact(ctx, invocation);
|
|
81
|
+
active.add(operation);
|
|
82
|
+
const retire = () => {
|
|
83
|
+
active.delete(operation);
|
|
84
|
+
};
|
|
85
|
+
operation.then(retire, retire);
|
|
86
|
+
return operation;
|
|
87
|
+
};
|
|
88
|
+
ctx.effect(function* () {
|
|
89
|
+
yield async () => {
|
|
90
|
+
await Promise.allSettled(active);
|
|
91
|
+
};
|
|
92
|
+
yield ctx.commands.register({
|
|
93
|
+
name: "compact",
|
|
94
|
+
description: "Compact older conversation history",
|
|
95
|
+
handler
|
|
96
|
+
});
|
|
97
|
+
}, "command-compact lifecycle");
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
export { apply, inject, name };
|
package/lib/invariant.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region lib/types/invariant.js
|
|
2
|
+
/**
|
|
3
|
+
* Package-owned invariant companion for `@stackstackstack/dsh-command-compact`.
|
|
4
|
+
* @module @stackstackstack/dsh-command-compact/invariant
|
|
5
|
+
*/
|
|
6
|
+
const PACKAGE_NAME = "@stackstackstack/dsh-command-compact";
|
|
7
|
+
/** Cordis companion plugin name. */
|
|
8
|
+
const name = "command-compact-invariant";
|
|
9
|
+
/** Service required before the companion can reserve package ownership. */
|
|
10
|
+
const inject = ["invariants"];
|
|
11
|
+
/**
|
|
12
|
+
* No runtime invariant: this command adapter owns no state or event stream; the compaction seam owns
|
|
13
|
+
* the balanced durable transaction and the command registry owns registration and dispatch lifecycle.
|
|
14
|
+
*/
|
|
15
|
+
const install = () => {};
|
|
16
|
+
/**
|
|
17
|
+
* Register this package's invariant companion.
|
|
18
|
+
* @param ctx - Cordis context carrying the invariant service.
|
|
19
|
+
* @returns the installed registration's disposer after setup succeeds.
|
|
20
|
+
*/
|
|
21
|
+
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
22
|
+
//#endregion
|
|
23
|
+
export { apply, inject, name };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Human-facing `/compact` command over the backend-independent compaction seam.
|
|
3
|
+
* @module @stackstackstack/dsh-command-compact
|
|
4
|
+
*/
|
|
5
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
+
export declare const name = "command-compact";
|
|
7
|
+
export declare const inject: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Register `/compact` for every composed human-command adapter.
|
|
10
|
+
* @param ctx - context carrying the command registry and the compaction seam.
|
|
11
|
+
*/
|
|
12
|
+
export declare function apply(ctx: Context): void;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Package-owned invariant companion for `@stackstackstack/dsh-command-compact`.
|
|
3
|
+
* @module @stackstackstack/dsh-command-compact/invariant
|
|
4
|
+
*/
|
|
5
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
+
/** Cordis companion plugin name. */
|
|
7
|
+
export declare const name = "command-compact-invariant";
|
|
8
|
+
/** Service required before the companion can reserve package ownership. */
|
|
9
|
+
export declare const inject: string[];
|
|
10
|
+
/**
|
|
11
|
+
* Register this package's invariant companion.
|
|
12
|
+
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
+
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
+
*/
|
|
15
|
+
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
+
//# sourceMappingURL=invariant.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stackstackstack/dsh-command-compact",
|
|
3
|
+
"description": "Human-facing slash command for explicit session compaction",
|
|
4
|
+
"version": "0.1.5",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
11
|
+
"directory": "packages/compaction/command-compact"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"types": "lib/types/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/types/index.d.ts",
|
|
19
|
+
"default": "./lib/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./invariant": {
|
|
22
|
+
"types": "./lib/types/invariant.d.ts",
|
|
23
|
+
"default": "./lib/invariant.js"
|
|
24
|
+
},
|
|
25
|
+
"./src/*": "./src/*",
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"lib/index.js",
|
|
30
|
+
"lib/invariant.js",
|
|
31
|
+
"lib/types/**/*.d.ts"
|
|
32
|
+
],
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@stackstackstack/dsh-commands": "^0.1.5",
|
|
36
|
+
"@stackstackstack/dsh-compaction": "^0.1.5",
|
|
37
|
+
"@stackstackstack/dsh-invariants": "^0.1.5",
|
|
38
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
42
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
43
|
+
"@stackstackstack/dsh-commands": "^0.1.5",
|
|
44
|
+
"@stackstackstack/dsh-agent": "^0.1.5",
|
|
45
|
+
"@stackstackstack/dsh-compaction": "^0.1.5",
|
|
46
|
+
"@stackstackstack/dsh-invariants": "^0.1.5",
|
|
47
|
+
"@stackstackstack/dsh-llm": "^0.1.5",
|
|
48
|
+
"@stackstackstack/dsh-session": "^0.1.5",
|
|
49
|
+
"@deepseek-ai/cordis": "^4.0.1"
|
|
50
|
+
}
|
|
51
|
+
}
|