Skip to content

Commit 69d7254

Browse files
authored
refactor(protocol): retire profile tool aliases (#1368)
Remove seven deprecated profile/profile-run aliases while preserving canonical user-context and enrichment-run tools, historical persisted operation values, and the separately gated discovery-run table.
1 parent 0d0f114 commit 69d7254

8 files changed

Lines changed: 20 additions & 20 deletions

File tree

bun.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli-output-reference.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,9 +1188,9 @@ <h1>I N D E X CLI</h1>
11881188

11891189
<div class="terminal full-width">
11901190
<div class="terminal-bar"><div class="dots"><span class="dot dot-r"></span><span class="dot dot-y"></span><span class="dot dot-g"></span></div><span class="cmd">All TOOL_DESCRIPTIONS (humanizeToolName)</span></div>
1191-
<div class="terminal-body"><span class="c-orange">&gt; Reading your profile...</span> <span class="dim">read_user_profiles</span>
1192-
<span class="c-orange">&gt; Creating your profile...</span> <span class="dim">create_user_profile</span>
1193-
<span class="c-orange">&gt; Updating your profile...</span> <span class="dim">update_user_profile</span>
1191+
<div class="terminal-body"><span class="c-orange">&gt; Reading your profile...</span> <span class="dim">read_user_contexts</span>
1192+
<span class="c-orange">&gt; Creating your profile...</span> <span class="dim">create_user_context</span>
1193+
<span class="c-orange">&gt; Updating your profile...</span> <span class="dim">update_user_context</span>
11941194
<span class="c-orange">&gt; Fetching your active signals...</span> <span class="dim">read_intents</span>
11951195
<span class="c-orange">&gt; Creating a new signal...</span> <span class="dim">create_intent</span>
11961196
<span class="c-orange">&gt; Updating signal...</span> <span class="dim">update_intent</span>

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indexnetwork/cli-darwin-arm64",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"description": "Platform-specific binary for @indexnetwork/cli (macOS arm64)",
55
"license": "MIT",
66
"os": [

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indexnetwork/cli-darwin-x64",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"description": "Platform-specific binary for @indexnetwork/cli (macOS x64)",
55
"license": "MIT",
66
"os": [

npm/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indexnetwork/cli-linux-arm64",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"description": "Platform-specific binary for @indexnetwork/cli (Linux arm64)",
55
"license": "MIT",
66
"os": [

npm/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indexnetwork/cli-linux-x64",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"description": "Platform-specific binary for @indexnetwork/cli (Linux x64)",
55
"license": "MIT",
66
"os": [

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indexnetwork/cli",
3-
"version": "0.13.2",
3+
"version": "0.13.3",
44
"description": "Command-line interface for Index Network",
55
"license": "MIT",
66
"type": "module",
@@ -20,10 +20,10 @@
2020
"publish:all": "bun scripts/publish.ts"
2121
},
2222
"optionalDependencies": {
23-
"@indexnetwork/cli-linux-x64": "0.13.2",
24-
"@indexnetwork/cli-linux-arm64": "0.13.2",
25-
"@indexnetwork/cli-darwin-x64": "0.13.2",
26-
"@indexnetwork/cli-darwin-arm64": "0.13.2"
23+
"@indexnetwork/cli-linux-x64": "0.13.3",
24+
"@indexnetwork/cli-linux-arm64": "0.13.3",
25+
"@indexnetwork/cli-darwin-x64": "0.13.3",
26+
"@indexnetwork/cli-darwin-arm64": "0.13.3"
2727
},
2828
"devDependencies": {
2929
"@types/bun": "1.3.14"

tests/profile-shape.harness.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { describe, it, expect } from "bun:test";
55
*
66
* Runs the EXACT merged extractProfile logic (from opportunity.command.ts) and
77
* the agentvillage negotiation-summary name parser over REAL live payloads
8-
* captured from dev (flat, WS11+) and prod/index-main (nested, pre-WS11) on
9-
* 2026-06-19. Proves both fixes resolve a usable profile/name across both
10-
* shapes — the backward+forward compatibility the merged code claims.
8+
* captured from dev (flat, WS11+) and historical production (nested, pre-WS11)
9+
* on 2026-06-19. Proves the payload parser remains compatible with persisted
10+
* legacy response shapes even though the retired tool alias is gone.
1111
*/
1212

1313
// ── Real live payloads (captured via MCP) ────────────────────────────────────
@@ -24,7 +24,7 @@ const DEV_FLAT_SINGLE = {
2424
},
2525
};
2626

27-
// prod read_user_profiles({}) — nested single-user (pre-WS11)
27+
// historical production response — nested single-user (pre-WS11)
2828
const PROD_NESTED_SINGLE = {
2929
success: true,
3030
data: {

0 commit comments

Comments
 (0)