triss-coworker 0.41.0 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/README.md +4 -3
- package/bin/triss.js +4 -0
- package/docs/security-model.md +3 -1
- package/package.json +7 -3
- package/src/agent-rule-markers.js +3 -0
- package/src/agent-rules.js +3 -0
- package/src/call-context.js +3 -0
- package/src/cli-argv.js +3 -0
- package/src/client.js +3 -0
- package/src/coder-credential-proxy.js +3 -0
- package/src/coder-engine-registry.js +3 -0
- package/src/coder-engines/crush.js +3 -0
- package/src/coder-engines/omp.js +3 -0
- package/src/coder-engines/opencode2.js +3 -0
- package/src/coder-git-mediator.js +3 -0
- package/src/coder-lease.js +3 -0
- package/src/coder-lock.js +3 -0
- package/src/coder-models.js +3 -0
- package/src/coder-orchestration.js +3 -0
- package/src/coder-process-supervisor.js +3 -0
- package/src/coder-providers.js +3 -0
- package/src/coder-result-owner-adapter.js +3 -0
- package/src/coder-result-quarantine.js +3 -0
- package/src/coder-result-registry-codec.js +3 -0
- package/src/coder-result-transitions.js +3 -0
- package/src/coder-result.js +3 -0
- package/src/coder-run-state.js +3 -0
- package/src/coder-sandbox.js +3 -0
- package/src/coder-session-engines.js +3 -0
- package/src/coder-session-inventory-codec.js +3 -0
- package/src/coder-session-owner-adapter.js +3 -0
- package/src/coder-session-slots.js +3 -0
- package/src/coder-session-store.js +3 -0
- package/src/coder-session-transitions.js +3 -0
- package/src/coder-state-backup.js +3 -0
- package/src/coder-state.js +3 -0
- package/src/coder-write-quota.js +3 -0
- package/src/commands/agent-help.js +3 -0
- package/src/commands/ask.js +3 -0
- package/src/commands/chat.js +3 -0
- package/src/commands/coder-models.js +3 -0
- package/src/commands/coder-state-backup.js +3 -0
- package/src/commands/coder.js +3 -0
- package/src/commands/commit-msg.js +3 -0
- package/src/commands/completion.js +3 -0
- package/src/commands/config.js +3 -0
- package/src/commands/exec.js +3 -0
- package/src/commands/extract.js +3 -0
- package/src/commands/fetch.js +3 -0
- package/src/commands/init.js +3 -0
- package/src/commands/mcp.js +3 -0
- package/src/commands/review.js +3 -0
- package/src/commands/status.js +3 -0
- package/src/commands/update.js +3 -0
- package/src/commands/usage.js +3 -0
- package/src/commands/write.js +3 -0
- package/src/config-defaults.js +3 -0
- package/src/config.js +3 -0
- package/src/fixed-kernel-lock.js +3 -0
- package/src/git.js +3 -0
- package/src/integrations/_atlassian.js +3 -0
- package/src/integrations/_contract.js +3 -0
- package/src/integrations/_registry.js +3 -0
- package/src/integrations/confluence/client.js +3 -0
- package/src/integrations/confluence/commands.js +3 -0
- package/src/integrations/confluence/index.js +3 -0
- package/src/integrations/github/client.js +3 -0
- package/src/integrations/github/commands.js +3 -0
- package/src/integrations/github/index.js +3 -0
- package/src/integrations/gitlab/client.js +3 -0
- package/src/integrations/gitlab/commands.js +4 -1
- package/src/integrations/gitlab/index.js +3 -0
- package/src/integrations/jira/adf.js +3 -0
- package/src/integrations/jira/client.js +3 -0
- package/src/integrations/jira/commands.js +3 -0
- package/src/integrations/jira/index.js +3 -0
- package/src/integrations/linear/client.js +3 -0
- package/src/integrations/linear/commands.js +3 -0
- package/src/integrations/linear/index.js +3 -0
- package/src/managed-root.js +3 -0
- package/src/marker-transaction.js +3 -0
- package/src/mcp/handlers.js +3 -0
- package/src/mcp/install.js +3 -0
- package/src/mcp/review-core.js +3 -0
- package/src/mcp/server.js +3 -0
- package/src/mcp/tools.js +3 -0
- package/src/models.js +3 -0
- package/src/moonshot.js +3 -0
- package/src/net-dns-worker.js +3 -0
- package/src/net.js +3 -0
- package/src/opencode-catalogue.js +3 -0
- package/src/opencode-config.js +3 -0
- package/src/opencode2-preflight.js +3 -0
- package/src/option-validation.js +3 -0
- package/src/owned-process-journal.js +3 -0
- package/src/owned-process-reconcile.js +3 -0
- package/src/paths.js +3 -0
- package/src/picker.js +3 -0
- package/src/provider-errors.js +3 -0
- package/src/response-format.js +3 -0
- package/src/review-defaults.js +3 -0
- package/src/review-executor.js +3 -0
- package/src/review-git.js +3 -0
- package/src/review-input.js +3 -0
- package/src/review-live.js +3 -0
- package/src/review-payload.js +3 -0
- package/src/review-pr-fetch.js +3 -0
- package/src/review-pr-identity.js +3 -0
- package/src/review-pr-metadata.js +3 -0
- package/src/review-pr-registry.js +3 -0
- package/src/review-pr.js +3 -0
- package/src/review-prompt.js +3 -0
- package/src/review-scoped.js +3 -0
- package/src/safety.js +3 -0
- package/src/secrets.js +3 -0
- package/src/update/artifact.js +3 -0
- package/src/update/cache.js +3 -0
- package/src/update/install.js +3 -0
- package/src/update/integrity.js +3 -0
- package/src/update/manifest.js +4 -1
- package/src/update/passive.js +6 -2
- package/src/usage-schema.js +3 -0
- package/src/usage.js +3 -0
- package/src/version.js +3 -0
- package/src/web.js +3 -0
- package/src/worktree-fingerprint.js +3 -0
- package/src/zai.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.41.1] — 2026-08-29
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Passive CLI and MCP update checks now allow five seconds for GitHub Release
|
|
15
|
+
redirects and manifest delivery, preventing persistent timeout backoff from
|
|
16
|
+
suppressing update notifications on ordinary network connections.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- `triss-dsh-provider-bundle` is version-aligned and republished unchanged;
|
|
21
|
+
its OpenCode Zen, OpenCode Go, and Z.AI routes are unchanged.
|
|
22
|
+
|
|
23
|
+
### Artifact integrity (0.41.1)
|
|
24
|
+
|
|
25
|
+
- `triss-dsh-provider-bundle-0.41.1.tgz` — sha256
|
|
26
|
+
`11937c36ee4627c8704c9cdc0704b16f91cebb5a8fea9ab4c7e81da6c22f73dc`
|
|
27
|
+
— `sha512-sOwR4L1nbWj+goYxnKiYybcxX4hKbjycYk4OE1nDfIa7kVZ2KwOybzqVY8jZtbnaBreWS0fQN9Vn6NmdnD0F/A==`
|
|
28
|
+
(computed with npm pack; the output is byte-deterministic).
|
|
29
|
+
- Root `triss-coworker-0.41.1.tgz` sha256 is reproducible via `npm pack` at
|
|
30
|
+
tag `v0.41.1`; the root tarball ships `CHANGELOG.md`, so its hash cannot be
|
|
31
|
+
recorded inside this file. Registry verification compares the packed
|
|
32
|
+
artifact with the published tarball byte-for-byte.
|
|
33
|
+
|
|
10
34
|
## [0.41.0] — 2026-08-28
|
|
11
35
|
|
|
12
36
|
### Changed
|
|
@@ -1738,7 +1762,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1738
1762
|
|
|
1739
1763
|
- Initial release of `triss-coworker`.
|
|
1740
1764
|
|
|
1741
|
-
[Unreleased]: https://github.com/ayleen/triss-coworker/compare/v0.41.
|
|
1765
|
+
[Unreleased]: https://github.com/ayleen/triss-coworker/compare/v0.41.1...HEAD
|
|
1766
|
+
[0.41.1]: https://github.com/ayleen/triss-coworker/compare/v0.41.0...v0.41.1
|
|
1742
1767
|
[0.41.0]: https://github.com/ayleen/triss-coworker/compare/v0.40.0...v0.41.0
|
|
1743
1768
|
[0.40.0]: https://github.com/ayleen/triss-coworker/compare/v0.39.2...v0.40.0
|
|
1744
1769
|
[0.39.2]: https://github.com/ayleen/triss-coworker/compare/v0.39.1...v0.39.2
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/triss-coworker)
|
|
8
8
|
[](https://www.npmjs.com/package/triss-coworker)
|
|
9
9
|
[](https://github.com/ayleen/triss-coworker/actions/workflows/test.yml)
|
|
10
|
+
[](https://www.bestpractices.dev/en/projects/14266)
|
|
10
11
|
[](https://nodejs.org/)
|
|
11
12
|
[](https://opensource.org/licenses/MIT)
|
|
12
13
|
[](CHANGELOG.md)
|
|
@@ -119,9 +120,9 @@ triss status
|
|
|
119
120
|
|
|
120
121
|
During successful interactive CLI use, Triss checks a fixed GitHub Release
|
|
121
122
|
endpoint at most once per cache window and prints a throttled update notice to
|
|
122
|
-
stderr. A due check is awaited and adds at most
|
|
123
|
-
no network wait. Long-running MCP servers begin the same check only
|
|
124
|
-
MCP initialization handshake and use MCP logging plus stderr fallback.
|
|
123
|
+
stderr. A due check is awaited and adds at most 5.1 seconds; a fresh cache adds
|
|
124
|
+
no network wait. Long-running MCP servers begin the same five-second check only
|
|
125
|
+
after the MCP initialization handshake and use MCP logging plus stderr fallback.
|
|
125
126
|
|
|
126
127
|
```bash
|
|
127
128
|
triss update # fresh status and guidance; no file changes
|
package/bin/triss.js
CHANGED
package/docs/security-model.md
CHANGED
|
@@ -9,7 +9,9 @@ provider error contract are documented in the
|
|
|
9
9
|
[Reliable Delegation contract](reliable-delegation-contract.md).
|
|
10
10
|
In short: external content is
|
|
11
11
|
untrusted, required boundaries fail closed, best-effort isolation is opt-in,
|
|
12
|
-
and release artifacts are verified before publication
|
|
12
|
+
and release artifacts are verified before publication — including
|
|
13
|
+
fail-closed GPG tag-signature checks (see
|
|
14
|
+
[releasing.md](https://github.com/ayleen/triss-coworker/blob/main/docs/releasing.md)).
|
|
13
15
|
|
|
14
16
|
This document does not redefine those sources. Update them together whenever a
|
|
15
17
|
new provider, automatic network path, child engine, credential route, or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "triss-coworker",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.1",
|
|
4
4
|
"description": "Give your AI coding agent a cheap DeepSeek coworker. Delegate bulk reads, boilerplate, and doc updates to save 60-70% of your token budget.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"test": "node scripts/check-lockfile-gate.cjs && npm run test:secure-default && npm run test:best-effort",
|
|
37
37
|
"test:secure-default": "node scripts/run-tests.js secure-default",
|
|
38
38
|
"test:best-effort": "node --test test/best-effort-*.test.js",
|
|
39
|
+
"test:coverage": "c8 --include 'src/**' --include 'bin/**' --check-coverage --statements 90 --branches 80 --functions 80 --lines 80 --reporter=text --reporter=text-summary npm test",
|
|
39
40
|
"start": "node bin/triss.js",
|
|
40
41
|
"lint": "eslint . --max-warnings=0",
|
|
41
42
|
"lint:fix": "eslint . --fix",
|
|
@@ -44,8 +45,9 @@
|
|
|
44
45
|
"check:config-docs": "node scripts/generate-config-defaults.js --check",
|
|
45
46
|
"check:docs": "npm run check:config-docs && node scripts/check-doc-links.js",
|
|
46
47
|
"check:package": "node scripts/check-package-contents.js",
|
|
47
|
-
"check": "npm run lint && npm run typecheck && npm test && npm run check:docs && npm run check:package",
|
|
48
|
-
"prepublishOnly": "npm run check"
|
|
48
|
+
"check": "npm run lint && npm run typecheck && npm test && npm run check:docs && npm run check:package && npm run check:license-headers",
|
|
49
|
+
"prepublishOnly": "npm run check",
|
|
50
|
+
"check:license-headers": "node scripts/check-license-headers.js"
|
|
49
51
|
},
|
|
50
52
|
"keywords": [
|
|
51
53
|
"claude-code",
|
|
@@ -95,7 +97,9 @@
|
|
|
95
97
|
"devDependencies": {
|
|
96
98
|
"@deepseek-ai/dsh-app-boot": "^0.1.0-rc.6",
|
|
97
99
|
"@eslint/js": "^10.0.1",
|
|
100
|
+
"c8": "^12.0.0",
|
|
98
101
|
"eslint": "^10.3.0",
|
|
102
|
+
"fast-check": "^4.9.0",
|
|
99
103
|
"globals": "^17.6.0"
|
|
100
104
|
}
|
|
101
105
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// The Triss managed-block markers, isolated in their own tiny module so the
|
|
2
5
|
// marker transaction primitive can reference them without pulling in
|
|
3
6
|
// agent-rules.js — which itself depends on the MCP install module. Without
|
package/src/agent-rules.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// Shared agent-rules rendering. Used by `triss init` (writes the nano block
|
|
2
5
|
// into CLAUDE.md / AGENTS.md) and by `triss agent-help` (prints the full
|
|
3
6
|
// cookbook on demand). The split keeps the always-loaded block tiny while
|
package/src/call-context.js
CHANGED
package/src/cli-argv.js
CHANGED
package/src/client.js
CHANGED
package/src/coder-engines/omp.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// opencode2 adapter — the THIRD coding engine (OpenCode 2 beta) behind
|
|
2
5
|
// `triss coder run --engine opencode2`. See docs/opencode2-engine-plan.md for
|
|
3
6
|
// the verified facts this adapter follows. Scope mirrors crush.js: PURE
|
package/src/coder-lease.js
CHANGED
package/src/coder-lock.js
CHANGED
package/src/coder-models.js
CHANGED
package/src/coder-providers.js
CHANGED
package/src/coder-result.js
CHANGED
package/src/coder-run-state.js
CHANGED
package/src/coder-sandbox.js
CHANGED
package/src/coder-state.js
CHANGED
package/src/coder-write-quota.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// Print the full Triss delegation cookbook to stdout. The nano block in
|
|
2
5
|
// CLAUDE.md / AGENTS.md points here so the agent loads the long reference
|
|
3
6
|
// only when it actually needs to look something up — saving the per-session
|
package/src/commands/ask.js
CHANGED
package/src/commands/chat.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// src/commands/coder-models.js — CLI handlers for `triss coder models` (live
|
|
2
5
|
// read-only model listing) and `triss coder model set` (persistent model
|
|
3
6
|
// switch). These are the Phase 4 command surfaces wired in bin/triss.js.
|
package/src/commands/coder.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// `triss coder` — delegate coding tasks to a GLM agent. opencode is the
|
|
2
5
|
// default engine (deny-first bash policy); crush is an optional second
|
|
3
6
|
// engine behind --engine crush / TRISS_CODER_ENGINE=crush (single JSON
|
package/src/commands/config.js
CHANGED
package/src/commands/exec.js
CHANGED
package/src/commands/extract.js
CHANGED
package/src/commands/fetch.js
CHANGED
package/src/commands/init.js
CHANGED
package/src/commands/mcp.js
CHANGED
package/src/commands/review.js
CHANGED
package/src/commands/status.js
CHANGED
package/src/commands/update.js
CHANGED
package/src/commands/usage.js
CHANGED
package/src/commands/write.js
CHANGED
package/src/config-defaults.js
CHANGED
package/src/config.js
CHANGED
package/src/fixed-kernel-lock.js
CHANGED
package/src/git.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
// Copyright (c) 2026 ayleen
|
|
3
|
+
|
|
1
4
|
// Shared Atlassian (Jira + Confluence) auth and request helper.
|
|
2
5
|
// Both products live on the same Cloud tenant and share the same triple
|
|
3
6
|
// of env vars; centralising avoids drift if Atlassian changes auth.
|