agent-profile-kit 0.237.0 → 0.238.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/README.md +5 -5
- package/dist/cli.js +11 -4
- package/docs/guides/agent-workflow.md +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Agent Profile Kit composes your Skills and Context into portable Profiles and
|
|
4
4
|
installs them into the projects you choose, as native material for your agents.
|
|
5
5
|
|
|
6
|
-
The initial release supports macOS only, on
|
|
7
|
-
|
|
6
|
+
The initial release supports macOS only, on Node.js 22 or newer. Node 22 is
|
|
7
|
+
the primary qualification line, and CI also runs the packed CLI on Node 23
|
|
8
|
+
through 26 ([ADR-0054](docs/adr/0054-support-node-22-and-newer.md)). The
|
|
8
9
|
actually observed baseline (macOS version, CPU architecture, and Node version)
|
|
9
10
|
is recorded in each supervised qualification run's record, retained as CI
|
|
10
|
-
evidence. Supporting additional
|
|
11
|
-
matching packed installation and lifecycle evidence
|
|
12
|
-
promise.
|
|
11
|
+
evidence. Supporting additional operating systems is an explicit decision
|
|
12
|
+
backed by matching packed installation and lifecycle evidence.
|
|
13
13
|
|
|
14
14
|
Supported agents: Antigravity, Codex, Claude Code, Grok, OpenCode, and Pi.
|
|
15
15
|
|
package/dist/cli.js
CHANGED
|
@@ -7199,7 +7199,7 @@ var AUTHORING_EXAMPLES = {
|
|
|
7199
7199
|
// package.json
|
|
7200
7200
|
var package_default = {
|
|
7201
7201
|
name: "agent-profile-kit",
|
|
7202
|
-
version: "0.
|
|
7202
|
+
version: "0.238.0",
|
|
7203
7203
|
description: "Compose portable agent material into host-native profiles.",
|
|
7204
7204
|
license: "MIT",
|
|
7205
7205
|
repository: {
|
|
@@ -7226,7 +7226,7 @@ var package_default = {
|
|
|
7226
7226
|
prepack: "bun run build"
|
|
7227
7227
|
},
|
|
7228
7228
|
engines: {
|
|
7229
|
-
node: ">=22
|
|
7229
|
+
node: ">=22",
|
|
7230
7230
|
bun: "1.4.0"
|
|
7231
7231
|
},
|
|
7232
7232
|
os: [
|
|
@@ -12091,12 +12091,19 @@ async function planGrokProject(profileId, modules, skills = [], options = {}) {
|
|
|
12091
12091
|
const path = resolveGrokContextRulePath(options);
|
|
12092
12092
|
const skillOutputs = await Promise.all([...skills].sort((left, right) => left.id.localeCompare(right.id)).map((skill2) => planSkillPackageDirectory(skill2, GROK_SKILLS_DISCOVERY_ROOT, ["Grok discovers Skill package through native project .grok/skills"], GROK_SKILL_PROJECTION, materials)));
|
|
12093
12093
|
const outputs = modules.length > 0 ? [contextRule2(profileId, modules, path, materials), ...skillOutputs] : [...skillOutputs];
|
|
12094
|
-
const
|
|
12094
|
+
const trustSteps = outputs.length > 0 ? [{
|
|
12095
|
+
consequence: "The Profile does not load until the project is trusted.",
|
|
12096
|
+
kind: "trust-required",
|
|
12097
|
+
message: "Trust the bound project in Grok.",
|
|
12098
|
+
humanAction: "trust this project",
|
|
12099
|
+
provenance: "standing"
|
|
12100
|
+
}] : [];
|
|
12101
|
+
const setupSteps = modules.length > 0 && path === CLAUDE_CONTEXT_RULE_PATH ? [...trustSteps, {
|
|
12095
12102
|
kind: "shared-path",
|
|
12096
12103
|
message: `Grok uses Profile Context from Claude's shared rule path: ${CLAUDE_CONTEXT_RULE_PATH}.`,
|
|
12097
12104
|
humanAction: `it reads Claude's Context file at ${CLAUDE_CONTEXT_RULE_PATH}`,
|
|
12098
12105
|
provenance: "standing"
|
|
12099
|
-
}] :
|
|
12106
|
+
}] : trustSteps;
|
|
12100
12107
|
return {
|
|
12101
12108
|
host: "grok",
|
|
12102
12109
|
hostVersion: skillsRequireDisabledModelInvocation(skills) ? GROK_HOST_VERSION_WITH_INVOCATION : skills.length > 0 ? GROK_HOST_VERSION_WITH_SKILLS : GROK_HOST_VERSION,
|
|
@@ -7,7 +7,7 @@ Use this workflow when helping a person set up Agent Profile Kit, migrate their
|
|
|
7
7
|
When a user points you at this repository or asks you to set up Agent Profile Kit from scratch, execute these five steps non-interactively (confirming user choices before writing):
|
|
8
8
|
|
|
9
9
|
1. **Run `apkit` without requiring manual CLI setup.**
|
|
10
|
-
Check whether `apkit` is on `PATH` (`command -v apkit`). If not, invoke it via `npx --yes --package agent-profile-kit apkit <command>`. Always pass explicit paths and `--auto-confirm`
|
|
10
|
+
Check whether `apkit` is on `PATH` (`command -v apkit`). If not, invoke it via `npx --yes --package agent-profile-kit apkit <command>`. Always pass explicit paths, and pass `--auto-confirm` to the commands that confirm (`install`, `uninstall`, and `configure profile`) so they never hang waiting for a terminal prompt. `init`, `new`, `validate`, `status`, and `update` take no confirmation flag: run without a terminal, they never prompt, and a supplied `init` path counts as confirmation. Optionally offer to add `alias apkit="npx --yes --package agent-profile-kit apkit"` to `~/.zshrc` if the user wants a short command for themselves.
|
|
11
11
|
2. **Initialize or connect the Workspace.**
|
|
12
12
|
Check `~/.agents/agent-profile-kit/config.yaml` first. If no Workspace is configured, ask the user where they want their Workspace (suggest `~/agent-profile-workspace` or `~/projects/agent-profile-workspace`) and run `apkit init <workspace>`.
|
|
13
13
|
3. **Discover and migrate existing Skills and instruction files.**
|
|
@@ -141,7 +141,10 @@ When a user points you at this repository or asks you to set up Agent Profile Ki
|
|
|
141
141
|
packages after restarting running sessions. Pi bindings load the generated
|
|
142
142
|
`.pi/APPEND_SYSTEM.md` and shared `.agents/skills/<Artifact ID>` packages after
|
|
143
143
|
Pi's native trust boundary; packages, extensions, and other Skill sources coexist
|
|
144
|
-
through Pi agent resolution.
|
|
144
|
+
through Pi agent resolution. Grok bindings load the generated `.grok/rules/` rule
|
|
145
|
+
(or Claude's shared rule when Claude is co-selected and Grok's Claude rules
|
|
146
|
+
compatibility is on) and `.grok/skills/<Artifact ID>`
|
|
147
|
+
packages after Grok's native folder trust. For non-Git projects, remind the user that Codex must
|
|
145
148
|
launch from the exact bound root.
|
|
146
149
|
8. Use `apkit status` for the bound Project containing cwd, pass one explicit
|
|
147
150
|
Project root, or use `apkit status --all` for the fleet. Its concise result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-profile-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.238.0",
|
|
4
4
|
"description": "Compose portable agent material into host-native profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"prepack": "bun run build"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=22
|
|
30
|
+
"node": ">=22",
|
|
31
31
|
"bun": "1.4.0"
|
|
32
32
|
},
|
|
33
33
|
"os": [
|