@ory/gemini-cli 0.1.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.
@@ -0,0 +1,102 @@
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "matcher": "",
6
+ "hooks": [
7
+ {
8
+ "name": "ory-session-start",
9
+ "type": "command",
10
+ "command": "ory-gemini-hook",
11
+ "timeout": 10000,
12
+ "description": "Verify agent session via Ory Identities"
13
+ }
14
+ ]
15
+ }
16
+ ],
17
+ "SessionEnd": [
18
+ {
19
+ "matcher": "",
20
+ "hooks": [
21
+ {
22
+ "name": "ory-session-end",
23
+ "type": "command",
24
+ "command": "ory-gemini-hook",
25
+ "timeout": 5000,
26
+ "description": "Record session termination via Ory tracing"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "BeforeTool": [
32
+ {
33
+ "matcher": "",
34
+ "hooks": [
35
+ {
36
+ "name": "ory-before-tool",
37
+ "type": "command",
38
+ "command": "ory-gemini-hook",
39
+ "timeout": 5000,
40
+ "description": "Check tool permissions via Ory Permissions"
41
+ }
42
+ ]
43
+ }
44
+ ],
45
+ "AfterTool": [
46
+ {
47
+ "matcher": "",
48
+ "hooks": [
49
+ {
50
+ "name": "ory-after-tool",
51
+ "type": "command",
52
+ "command": "ory-gemini-hook",
53
+ "timeout": 5000,
54
+ "description": "Record trace spans for tool executions via Ory"
55
+ }
56
+ ]
57
+ }
58
+ ],
59
+ "BeforeToolSelection": [
60
+ {
61
+ "matcher": "",
62
+ "hooks": [
63
+ {
64
+ "name": "ory-before-tool-selection",
65
+ "type": "command",
66
+ "command": "ory-gemini-hook",
67
+ "timeout": 5000,
68
+ "description": "Audit-only span for the upcoming tool-selection decision"
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "Notification": [
74
+ {
75
+ "matcher": "",
76
+ "hooks": [
77
+ {
78
+ "name": "ory-notification",
79
+ "type": "command",
80
+ "command": "ory-gemini-hook",
81
+ "timeout": 5000,
82
+ "description": "Audit permission and notification prompts"
83
+ }
84
+ ]
85
+ }
86
+ ],
87
+ "PreCompress": [
88
+ {
89
+ "matcher": "",
90
+ "hooks": [
91
+ {
92
+ "name": "ory-pre-compress",
93
+ "type": "command",
94
+ "command": "ory-gemini-hook",
95
+ "timeout": 5000,
96
+ "description": "Audit history compaction events"
97
+ }
98
+ ]
99
+ }
100
+ ]
101
+ }
102
+ }
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@ory/gemini-cli",
3
+ "version": "0.1.0",
4
+ "description": "Ory extension for Gemini CLI: scaffolding skills, a local Ory instance, and authentication, authorization, and audit for every tool call",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://ory.com",
7
+ "keywords": [
8
+ "ory",
9
+ "gemini",
10
+ "gemini-cli",
11
+ "google",
12
+ "hooks",
13
+ "plugin",
14
+ "extension",
15
+ "identity",
16
+ "identity-management",
17
+ "iam",
18
+ "authentication",
19
+ "authorization",
20
+ "access-control",
21
+ "permissions",
22
+ "rbac",
23
+ "zanzibar",
24
+ "oauth",
25
+ "oauth2",
26
+ "openid-connect",
27
+ "oidc",
28
+ "session",
29
+ "mfa",
30
+ "sso",
31
+ "audit",
32
+ "audit-log",
33
+ "compliance",
34
+ "agent",
35
+ "ai-agent",
36
+ "agent-security",
37
+ "guardrails",
38
+ "llm",
39
+ "tracing",
40
+ "distributed-tracing",
41
+ "observability",
42
+ "kratos",
43
+ "keto",
44
+ "hydra"
45
+ ],
46
+ "publishConfig": {
47
+ "access": "public"
48
+ },
49
+ "main": "dist/index.js",
50
+ "types": "dist/index.d.ts",
51
+ "exports": {
52
+ ".": {
53
+ "types": "./dist/index.d.ts",
54
+ "default": "./dist/index.js"
55
+ }
56
+ },
57
+ "bin": {
58
+ "gemini-cli": "dist/cli/main.js",
59
+ "ory-gemini": "dist/cli/main.js",
60
+ "ory-gemini-hook": "dist/hook.js",
61
+ "ory-gemini-setup": "dist/cli/setup.js"
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "!dist/dev",
66
+ "!dist/**/*.tsbuildinfo",
67
+ "gemini-extension"
68
+ ],
69
+ "dependencies": {
70
+ "@ory/argus": "0.1.0"
71
+ },
72
+ "engines": {
73
+ "node": ">=24"
74
+ },
75
+ "scripts": {
76
+ "build": "tsc",
77
+ "clean": "rm -rf dist *.tsbuildinfo",
78
+ "test": "vitest run",
79
+ "test:watch": "vitest",
80
+ "typecheck": "tsc --noEmit",
81
+ "dev": "node dist/dev/launcher.js"
82
+ }
83
+ }