@ory/cline 1.2.3 → 1.3.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 CHANGED
@@ -115,7 +115,7 @@ npx -y -p @ory/cline ory-cline configure \
115
115
 
116
116
  **Ory Network or OEL.** Either works. For an Ory Network project the URL is `https://<slug>.projects.oryapis.com`; for a self-hosted **Ory Enterprise License** deployment, point `--project-url` at that deployment's base URL and use the sign-in client id from its Agent Security configuration. Everything downstream — sign-in, checks, delegation — is identical.
117
117
 
118
- **There is nothing else for you to create.** The sign-in client, permission model, native-tool blocks, MCP grants, and observe/enforce posture are provisioned in the Console by someone with project access. At runtime the plugin only *reads* permissions, so installing it needs no workspace privilege. Each Cline session registers its own identity automatically on first use.
118
+ **There is nothing else for you to create.** The sign-in client, permission model, native-tool blocks, MCP grants, and observe/enforce posture are provisioned in the Console by someone with project access. At session start the plugin loads or enrolls Cline's Talos runtime credential in the OS credential store; tool paths only read it. Installing needs no workspace privilege.
119
119
 
120
120
  Sign-in runs at the start of every session and never blocks — a declined, skipped, or timed-out login simply leaves that session without a user identity.
121
121
 
@@ -128,7 +128,7 @@ ory-cline install | uninstall Install (add --project-url to also connect
128
128
  ory-cline status Show configuration, identities, native tool access, recent activity
129
129
  ory-cline permissions <cmd> status (read-only; blocks + posture live in the Ory Console)
130
130
  ory-cline configure <flags> Connect a project (--project-url) or --disconnect
131
- ory-cline agent <status|unregister> Manage Cline's own auto-created identity
131
+ ory-cline agent <status|unregister> Inspect runtime status / clear legacy OAuth state
132
132
  ory-cline local <up|down|status|…> Run / manage a local Ory in Docker
133
133
  ory-cline version Print plugin, core, and Node versions (--json for machine-readable)
134
134
  ```
@@ -138,7 +138,7 @@ All prefixed with `npx -y -p @ory/cline`.
138
138
  ## Troubleshooting
139
139
 
140
140
  - **Local Ory fails to start** — make sure Docker is running and ports `4000`, `4100`, `4455`, and `16686` are free.
141
- - **Browser sign-in loops** (after connecting) — reset with `ory-cline agent unregister` and try again.
141
+ - **Browser sign-in loops** (after connecting) — confirm the reserved login client has all four documented loopback redirect URIs; `agent unregister` only clears legacy agent OAuth state.
142
142
  - **Running an older CLI than expected** — `npx -p @ory/cline` (no version pin) reuses a previously-downloaded copy instead of re-resolving to the latest. The install banner prints the running version; confirm it with `npx -y -p @ory/cline ory-cline version`. To force the current release, clear the cache and reinstall: `rm -rf ~/.npm/_npx` then `npx -y -p @ory/cline ory-cline install`. Pinning an exact version (`@ory/cline@<version>`) also bypasses the cached copy.
143
143
  - **A hook didn't install** — check the install output for a skipped-event warning; move or remove your own script at that event name and re-run install.
144
144
 
@@ -6,7 +6,7 @@
6
6
  * npx ory-cline install [--global] Install Ory hook scripts into Cline
7
7
  * npx ory-cline uninstall [--global] Remove the Ory hook scripts
8
8
  * npx ory-cline configure Set or view Ory credentials
9
- * npx ory-cline agent <cmd> Manage the agent's OAuth2 (DCR) identity
9
+ * npx ory-cline agent <cmd> Inspect runtime status or clear legacy OAuth state
10
10
  * npx ory-cline permissions Show mode and native allowed/blocked state
11
11
  * npx ory-cline setup [options] Write hook scripts directly (fallback)
12
12
  * npx ory-cline status Show plugin status
package/dist/cli/main.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * npx ory-cline install [--global] Install Ory hook scripts into Cline
8
8
  * npx ory-cline uninstall [--global] Remove the Ory hook scripts
9
9
  * npx ory-cline configure Set or view Ory credentials
10
- * npx ory-cline agent <cmd> Manage the agent's OAuth2 (DCR) identity
10
+ * npx ory-cline agent <cmd> Inspect runtime status or clear legacy OAuth state
11
11
  * npx ory-cline permissions Show mode and native allowed/blocked state
12
12
  * npx ory-cline setup [options] Write hook scripts directly (fallback)
13
13
  * npx ory-cline status Show plugin status
@@ -170,7 +170,7 @@ Commands:
170
170
  install [--global] Install the Ory hook scripts into Cline
171
171
  uninstall [--global] Remove the Ory hook scripts from Cline
172
172
  configure Set or view Ory project URL and API key
173
- agent <cmd> Manage the agent's OAuth2 (DCR) identity (status, unregister)
173
+ agent <cmd> Inspect runtime status or clear legacy OAuth state
174
174
  permissions Show live mode and native allowed/blocked state
175
175
  setup [options] Write hook scripts directly to the hooks directory (fallback)
176
176
  status Show plugin status and configuration
package/dist/types.d.ts CHANGED
@@ -19,6 +19,7 @@ export type ClineHookEventName = "agent_start" | "agent_resume" | "agent_abort"
19
19
  /** Nested payload for the `tool_call` event. */
20
20
  export interface ClinePreToolUsePayload {
21
21
  toolName: string;
22
+ /** Cline JSON-encodes non-string tool values before delivering the hook. */
22
23
  parameters: Record<string, string>;
23
24
  }
24
25
  /** Nested payload for the `tool_result` event. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/cline",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "description": "Ory plugin for Cline: scaffolding skills, a local Ory instance, and authentication, authorization, and audit for every tool call",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://ory.com",
@@ -69,11 +69,10 @@
69
69
  ],
70
70
  "dependencies": {
71
71
  "reova": "^0.7.0",
72
- "@ory/argus": "1.2.3"
72
+ "@ory/argus": "1.3.0"
73
73
  },
74
74
  "devDependencies": {
75
- "typescript": "^6.0.2",
76
- "vitest": "4.1.4"
75
+ "typescript": "^6.0.2"
77
76
  },
78
77
  "engines": {
79
78
  "node": ">=22"