@pragma-sh/kimi-plugin 0.1.0-alpha.0 → 1.0.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.
@@ -1,7 +1,7 @@
1
- // ../plugin/dist/shared/chunk-k5kqv14t.js
2
- var PLUGIN_API_VERSION = "0.0.0";
1
+ // ../plugin/dist/shared/chunk-e222xk1w.js
2
+ var PLUGIN_API_VERSION = "1.0.1";
3
3
 
4
- // ../plugin/dist/shared/chunk-0rpz2gg0.js
4
+ // ../plugin/dist/shared/chunk-6qx2xj9p.js
5
5
  function defineAgent(input) {
6
6
  return input;
7
7
  }
package/hooks/report.sh CHANGED
@@ -53,7 +53,7 @@ report() {
53
53
 
54
54
  # Reports a coarse rich message. Hook payloads are intentionally not parsed
55
55
  # beyond the prompt extraction below; this keeps hooks fail-open and portable.
56
- # AgentMessage.ts is milliseconds since Unix epoch (see @pragma/constants).
56
+ # AgentMessage.ts is milliseconds since Unix epoch (see @pragma-sh/constants).
57
57
  # `date +%s` is seconds -- multiply so chat clients that stamp local input with
58
58
  # Date.now() don't sort every agent bubble above the user's messages.
59
59
  message_ts_ms() {
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@pragma-sh/kimi-plugin",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "1.0.1",
4
4
  "description": "Kimi Code CLI plugin that reports agent status to Pragma via native hooks.",
5
5
  "license": "AGPL-3.0-only",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/pragma-sh/pragma.git",
9
+ "directory": "packages/kimi-plugin"
10
+ },
6
11
  "files": [
7
12
  "assets",
8
13
  "dist",
@@ -28,8 +33,8 @@
28
33
  "lint": "oxlint ."
29
34
  },
30
35
  "devDependencies": {
31
- "@pragma/plugin": "workspace:*",
32
- "@pragma/watcher-kit": "workspace:*",
36
+ "@pragma-sh/plugin": "workspace:*",
37
+ "@pragma-sh/watcher-kit": "workspace:*",
33
38
  "@types/node": "^24.12.3",
34
39
  "bunup": "^0.16.32",
35
40
  "typescript": "^6.0.3",
@@ -2,6 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/pragma-sh/pragma/main/packages/plugin-registry/pragma-plugin.schema.json",
3
3
  "name": "Kimi Code CLI",
4
4
  "description": "Launch Kimi Code CLI in Pragma with live status, approvals, questions, subagents, and session naming.",
5
+ "longDescription": "Launch Kimi Code CLI from the Pragma launcher with live status, questions, usage limits, subagents, and session naming. Subagent activity is reported alongside the main session, so nested work stays attributed to the tab that started it.",
5
6
  "categories": ["agent-plugin"],
6
7
  "images": [
7
8
  {
@@ -9,6 +10,9 @@
9
10
  "alt": "Kimi logo"
10
11
  }
11
12
  ],
12
- "install": { "command": "node", "args": ["dist/install.mjs"] },
13
+ "install": {
14
+ "command": "node",
15
+ "args": ["dist/install.mjs"]
16
+ },
13
17
  "agentBinary": "kimi"
14
18
  }
package/src/models.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AgentModelEntry, PluginContext } from "@pragma/plugin/catalog";
1
+ import type { AgentModelEntry, PluginContext } from "@pragma-sh/plugin/catalog";
2
2
 
3
3
  // The official Kimi Code installer puts the CLI in `~/.kimi-code/bin`, which
4
4
  // GUI-launched Pragma hosts do not put on the subprocess PATH (see
@@ -1,5 +1,5 @@
1
- import { defineAgent, definePlugin, type PluginDefinition } from "@pragma/plugin/catalog";
2
- import { createTuiWatcher } from "@pragma/watcher-kit";
1
+ import { defineAgent, definePlugin, type PluginDefinition } from "@pragma-sh/plugin/catalog";
2
+ import { createTuiWatcher } from "@pragma-sh/watcher-kit";
3
3
 
4
4
  import { loadKimiModels } from "./models";
5
5