@nhtio/adk 0.1.0-master-f633fe0d → 0.1.0-master-e6c58205
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 +10 -0
- package/batteries/media/lint.cjs +1 -1
- package/batteries/media/lint.mjs +1 -1
- package/eslint/rules.cjs +1 -1
- package/eslint/rules.mjs +1 -1
- package/eslint.cjs +2 -2
- package/eslint.mjs +2 -2
- package/index.cjs +2 -2
- package/index.mjs +2 -2
- package/mcp/adk-docs-corpus.json +1 -1
- package/package.json +179 -179
- package/skills/adk-assembly/SKILL.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,16 @@ upgrading.
|
|
|
19
19
|
|
|
20
20
|
### Security
|
|
21
21
|
|
|
22
|
+
- **npm trusted publishing is live — releases no longer use a long-lived token.** Completing
|
|
23
|
+
the groundwork below: the package's Trusted Publisher is configured on npmjs.com (GitLab
|
|
24
|
+
CI/CD → this project's `.gitlab-ci.yml`, `npm publish` only), and both npm deploy jobs now
|
|
25
|
+
authenticate exclusively with the short-lived OIDC `id_token` — every `NPM_TOKEN` reference
|
|
26
|
+
is gone from this repository's CI. Verified live twice before removal: npm preferred the
|
|
27
|
+
OIDC exchange even with the token fallback still present (publisher identity
|
|
28
|
+
`GitLab CI/CD <npm-oidc-no-reply@github.com>`), and the first fully tokenless publish
|
|
29
|
+
succeeded with the same identity. A stolen CI token — the credential class behind most of
|
|
30
|
+
the recent registry-compromise worms — can no longer publish this package; publish rights
|
|
31
|
+
are bound to this repository's pipeline identity instead of a bearer secret.
|
|
22
32
|
- **Supply-chain hardening across the build and dependency pipeline** (prompted by the recent
|
|
23
33
|
npm worm campaigns; none of these change the published API):
|
|
24
34
|
- **Release cooldown**: pnpm now refuses to resolve any dependency version published less
|
package/batteries/media/lint.cjs
CHANGED
package/batteries/media/lint.mjs
CHANGED
package/eslint/rules.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_eslint_rules_require_validator_any_required = require("./rules/require_validator_any_required.cjs");
|
|
4
3
|
const require_eslint_rules_no_model_in_tool_handler = require("./rules/no_model_in_tool_handler.cjs");
|
|
4
|
+
const require_eslint_rules_require_validator_any_required = require("./rules/require_validator_any_required.cjs");
|
|
5
5
|
const require_eslint_rules_thought_payload_requires_replay_tag = require("./rules/thought_payload_requires_replay_tag.cjs");
|
|
6
6
|
const require_eslint_rules_token_encoding_requires_context_window = require("./rules/token_encoding_requires_context_window.cjs");
|
|
7
7
|
const require_eslint_rules_artifact_tool_forbids_artifact_constructor = require("./rules/artifact_tool_forbids_artifact_constructor.cjs");
|
package/eslint/rules.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import requireValidatorAnyRequiredRule from "./rules/require_validator_any_required.mjs";
|
|
2
1
|
import noModelInToolHandlerRule from "./rules/no_model_in_tool_handler.mjs";
|
|
2
|
+
import requireValidatorAnyRequiredRule from "./rules/require_validator_any_required.mjs";
|
|
3
3
|
import thoughtPayloadRequiresReplayTagRule from "./rules/thought_payload_requires_replay_tag.mjs";
|
|
4
4
|
import tokenEncodingRequiresContextWindowRule from "./rules/token_encoding_requires_context_window.mjs";
|
|
5
5
|
import artifactToolForbidsArtifactConstructorRule from "./rules/artifact_tool_forbids_artifact_constructor.mjs";
|
package/eslint.cjs
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("./chunk-Cek0wNdY.js");
|
|
6
|
-
const require_eslint_rules_require_validator_any_required = require("./eslint/rules/require_validator_any_required.cjs");
|
|
7
6
|
const require_eslint_rules_no_model_in_tool_handler = require("./eslint/rules/no_model_in_tool_handler.cjs");
|
|
7
|
+
const require_eslint_rules_require_validator_any_required = require("./eslint/rules/require_validator_any_required.cjs");
|
|
8
8
|
const require_eslint_rules_thought_payload_requires_replay_tag = require("./eslint/rules/thought_payload_requires_replay_tag.cjs");
|
|
9
9
|
const require_eslint_rules_token_encoding_requires_context_window = require("./eslint/rules/token_encoding_requires_context_window.cjs");
|
|
10
10
|
const require_eslint_rules_artifact_tool_forbids_artifact_constructor = require("./eslint/rules/artifact_tool_forbids_artifact_constructor.cjs");
|
|
@@ -49,7 +49,7 @@ var rules = {
|
|
|
49
49
|
var plugin = {
|
|
50
50
|
meta: {
|
|
51
51
|
name: "@nhtio/adk/eslint",
|
|
52
|
-
version: "0.1.0-master-
|
|
52
|
+
version: "0.1.0-master-e6c58205"
|
|
53
53
|
},
|
|
54
54
|
rules
|
|
55
55
|
};
|
package/eslint.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import requireValidatorAnyRequiredRule from "./eslint/rules/require_validator_any_required.mjs";
|
|
2
1
|
import noModelInToolHandlerRule from "./eslint/rules/no_model_in_tool_handler.mjs";
|
|
2
|
+
import requireValidatorAnyRequiredRule from "./eslint/rules/require_validator_any_required.mjs";
|
|
3
3
|
import thoughtPayloadRequiresReplayTagRule from "./eslint/rules/thought_payload_requires_replay_tag.mjs";
|
|
4
4
|
import tokenEncodingRequiresContextWindowRule from "./eslint/rules/token_encoding_requires_context_window.mjs";
|
|
5
5
|
import artifactToolForbidsArtifactConstructorRule from "./eslint/rules/artifact_tool_forbids_artifact_constructor.mjs";
|
|
@@ -44,7 +44,7 @@ var rules = {
|
|
|
44
44
|
var plugin = {
|
|
45
45
|
meta: {
|
|
46
46
|
name: "@nhtio/adk/eslint",
|
|
47
|
-
version: "0.1.0-master-
|
|
47
|
+
version: "0.1.0-master-e6c58205"
|
|
48
48
|
},
|
|
49
49
|
rules
|
|
50
50
|
};
|
package/index.cjs
CHANGED
|
@@ -13,8 +13,8 @@ const require_tool_call = require("./tool_call-BxL3eU1k.js");
|
|
|
13
13
|
const require_spooled_markdown_artifact = require("./spooled_markdown_artifact-Dj3fNowz.js");
|
|
14
14
|
require("./exceptions.cjs");
|
|
15
15
|
const require_turn_runner = require("./turn_runner-M2I8G2ok.js");
|
|
16
|
-
require("./turn_runner.cjs");
|
|
17
16
|
const require_guards = require("./guards.cjs");
|
|
17
|
+
require("./turn_runner.cjs");
|
|
18
18
|
//#region src/index.ts
|
|
19
19
|
/**
|
|
20
20
|
* Root convenience barrel for the ADK's core runtime values and public TypeScript contracts.
|
|
@@ -26,7 +26,7 @@ const require_guards = require("./guards.cjs");
|
|
|
26
26
|
*
|
|
27
27
|
* @tip This is a constant that is replaced during the build process with the actual version of the package.
|
|
28
28
|
*/
|
|
29
|
-
var version = "0.1.0-master-
|
|
29
|
+
var version = "0.1.0-master-e6c58205";
|
|
30
30
|
//#endregion
|
|
31
31
|
exports.ArtifactTool = require_spooled_artifact.ArtifactTool;
|
|
32
32
|
exports.DispatchRunner = require_dispatch_runner.DispatchRunner;
|
package/index.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import { a as mediaReaderSchema, i as implementsMediaReader, n as Media, r as is
|
|
|
11
11
|
import { n as SpooledJsonArtifact, t as SpooledMarkdownArtifact } from "./spooled_markdown_artifact-DIYzbQv8.mjs";
|
|
12
12
|
import "./exceptions.mjs";
|
|
13
13
|
import { t as TurnRunner } from "./turn_runner-BV4BaZK9.mjs";
|
|
14
|
-
import "./turn_runner.mjs";
|
|
15
14
|
import { isArtifactTool, isBaseException, isDispatchContext, isDispatchRunner, isIdentity, isMemory, isMessage, isRegistry, isSpooledArtifact, isSpooledArtifactConstructor, isSpooledJsonArtifact, isSpooledMarkdownArtifact, isThought, isTokenizable, isTool, isToolCall, isToolRegistry, isTurnContext, isTurnGate, isTurnRunner } from "./guards.mjs";
|
|
15
|
+
import "./turn_runner.mjs";
|
|
16
16
|
//#region src/index.ts
|
|
17
17
|
/**
|
|
18
18
|
* Root convenience barrel for the ADK's core runtime values and public TypeScript contracts.
|
|
@@ -24,7 +24,7 @@ import { isArtifactTool, isBaseException, isDispatchContext, isDispatchRunner, i
|
|
|
24
24
|
*
|
|
25
25
|
* @tip This is a constant that is replaced during the build process with the actual version of the package.
|
|
26
26
|
*/
|
|
27
|
-
var version = "0.1.0-master-
|
|
27
|
+
var version = "0.1.0-master-e6c58205";
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ArtifactTool, DispatchRunner, E_DISPATCH_PIPELINE_ERROR, E_INPUT_PIPELINE_ERROR, E_INVALID_INITIAL_IDENTITY_VALUE, E_INVALID_INITIAL_MEMORY_VALUE, E_INVALID_INITIAL_MESSAGE_VALUE, E_INVALID_INITIAL_REGISTRY_VALUE, E_INVALID_INITIAL_THOUGHT_VALUE, E_INVALID_INITIAL_TOOL_CALL_VALUE, E_INVALID_INITIAL_TOOL_VALUE, E_INVALID_INITIAL_TURN_GATE_VALUE, E_INVALID_LLM_DISPATCH_INPUT, E_INVALID_LLM_EXECUTION_CONTEXT, E_INVALID_TOOL_ARGS, E_INVALID_TURN_CONTEXT, E_INVALID_TURN_GATE_RESOLUTION, E_INVALID_TURN_RUNNER_CONFIG, E_LLM_EXECUTION_ALREADY_SIGNALLED, E_LLM_EXECUTION_EXECUTOR_ERROR, E_LLM_EXECUTION_GATE_NOT_SUPPORTED, E_NOT_A_SPOOL_READER, E_OUTPUT_PIPELINE_ERROR, E_PIPELINE_SHORT_CIRCUITED, E_TOOL_ALREADY_REGISTERED, E_TOOL_DOWNSTREAM_ERROR, E_TURN_GATE_ABORTED, E_TURN_GATE_TIMEOUT, Identity, Media, Memory, Message, Registry, Retrievable, SpooledArtifact, SpooledJsonArtifact, SpooledMarkdownArtifact, Thought, TokenEncoding, Tokenizable, Tool, ToolCall, ToolRegistry, TurnRunner, ValidationException, fromFetch, fromWebFile, implementsMediaReader, implementsSpoolReader, inMemoryMediaReader, isArtifactTool, isBaseException, isDispatchContext, isDispatchRunner, isError, isIdentity, isInstanceOf, isMedia, isMemory, isMessage, isObject, isRegistry, isSpooledArtifact, isSpooledArtifactConstructor, isSpooledJsonArtifact, isSpooledMarkdownArtifact, isThought, isTokenizable, isTool, isToolCall, isToolRegistry, isTurnContext, isTurnGate, isTurnRunner, mediaReaderSchema, version };
|
|
30
30
|
|