pinokiod 7.2.17 → 7.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.
Files changed (78) hide show
  1. package/Dockerfile +2 -0
  2. package/kernel/api/index.js +1 -42
  3. package/kernel/api/process/index.js +44 -99
  4. package/kernel/bin/conda-python.js +30 -0
  5. package/kernel/bin/conda.js +22 -3
  6. package/kernel/bin/index.js +11 -1
  7. package/kernel/environment.js +2 -182
  8. package/kernel/git.js +13 -0
  9. package/kernel/index.js +1 -64
  10. package/kernel/plugin.js +58 -6
  11. package/kernel/shell.js +2 -21
  12. package/kernel/util.js +0 -60
  13. package/package.json +1 -1
  14. package/server/index.js +149 -176
  15. package/server/lib/content_validation.js +25 -28
  16. package/server/public/common.js +29 -103
  17. package/server/public/create-launcher.js +31 -4
  18. package/server/public/electron.css +6 -0
  19. package/server/public/style.css +0 -337
  20. package/server/public/task-launcher.js +32 -5
  21. package/server/public/universal-launcher.js +26 -3
  22. package/server/socket.js +11 -22
  23. package/server/views/app.ejs +30 -167
  24. package/server/views/d.ejs +33 -0
  25. package/server/views/editor.ejs +4 -25
  26. package/server/views/partials/main_sidebar.ejs +0 -1
  27. package/server/views/shell.ejs +3 -11
  28. package/server/views/terminal.ejs +3 -23
  29. package/server/views/terminals.ejs +0 -1
  30. package/spec/INSTRUCTION_SYNC.md +5 -5
  31. package/kernel/api/shell_run_template.js +0 -273
  32. package/kernel/api/uri/index.js +0 -51
  33. package/kernel/plugin_sources.js +0 -236
  34. package/kernel/watch/context.js +0 -42
  35. package/kernel/watch/drivers/fs.js +0 -71
  36. package/kernel/watch/drivers/poll.js +0 -33
  37. package/kernel/watch/index.js +0 -158
  38. package/server/features/drafts/index.js +0 -41
  39. package/server/features/drafts/parser.js +0 -169
  40. package/server/features/drafts/public/drafts.js +0 -1504
  41. package/server/features/drafts/registry_import.js +0 -412
  42. package/server/features/drafts/routes.js +0 -68
  43. package/server/features/drafts/service.js +0 -261
  44. package/server/features/drafts/watcher.js +0 -76
  45. package/server/features/index.js +0 -13
  46. package/server/lib/workspace_catalog.js +0 -151
  47. package/server/lib/workspace_runtime.js +0 -390
  48. package/server/routes/workspaces.js +0 -44
  49. package/server/views/partials/workspace_row.ejs +0 -61
  50. package/server/views/workspaces.ejs +0 -812
  51. package/system/plugin/antigravity/antigravity.png +0 -0
  52. package/system/plugin/antigravity/pinokio.js +0 -37
  53. package/system/plugin/claude/claude.png +0 -0
  54. package/system/plugin/claude/pinokio.js +0 -63
  55. package/system/plugin/claude-auto/claude.png +0 -0
  56. package/system/plugin/claude-auto/pinokio.js +0 -74
  57. package/system/plugin/claude-desktop/icon.jpeg +0 -0
  58. package/system/plugin/claude-desktop/pinokio.js +0 -39
  59. package/system/plugin/codex/openai.webp +0 -0
  60. package/system/plugin/codex/pinokio.js +0 -58
  61. package/system/plugin/codex-auto/openai.webp +0 -0
  62. package/system/plugin/codex-auto/pinokio.js +0 -65
  63. package/system/plugin/codex-desktop/icon.png +0 -0
  64. package/system/plugin/codex-desktop/pinokio.js +0 -39
  65. package/system/plugin/crush/crush.png +0 -0
  66. package/system/plugin/crush/pinokio.js +0 -31
  67. package/system/plugin/cursor/cursor.jpeg +0 -0
  68. package/system/plugin/cursor/pinokio.js +0 -39
  69. package/system/plugin/gemini/gemini.jpeg +0 -0
  70. package/system/plugin/gemini/pinokio.js +0 -40
  71. package/system/plugin/gemini-auto/gemini.jpeg +0 -0
  72. package/system/plugin/gemini-auto/pinokio.js +0 -43
  73. package/system/plugin/qwen/pinokio.js +0 -50
  74. package/system/plugin/qwen/qwen.png +0 -0
  75. package/system/plugin/vscode/pinokio.js +0 -36
  76. package/system/plugin/vscode/vscode.png +0 -0
  77. package/system/plugin/windsurf/pinokio.js +0 -39
  78. package/system/plugin/windsurf/windsurf.png +0 -0
@@ -1,37 +0,0 @@
1
- module.exports = {
2
- title: "Antigravity",
3
- link: "https://antigravity.google/",
4
- icon: "antigravity.png",
5
- description: "The AI IDE from Google",
6
- launch_type: "desktop",
7
- watch: [{
8
- handler: "draft",
9
- method: "ready",
10
- params: {
11
- path: ".pinokio/draft",
12
- content: "post.md",
13
- publish: {
14
- target: "registry",
15
- type: "post",
16
- parent: {
17
- type: "app",
18
- url: "{{args.url || ''}}"
19
- }
20
- }
21
- }
22
- }],
23
- run: [{
24
- when: "{{which('antigravity')}}",
25
- method: "exec",
26
- params: {
27
- message: "antigravity .",
28
- path: "{{args.cwd}}",
29
- }
30
- }, {
31
- method: "process.wait",
32
- params: {
33
- title: "Launched",
34
- description: "Click the stop button to stop watching file changes"
35
- }
36
- }]
37
- }
Binary file
@@ -1,63 +0,0 @@
1
- module.exports = {
2
- title: "Claude Code",
3
- icon: "claude.png",
4
- link: "https://www.anthropic.com/claude-code",
5
- watch: [{
6
- handler: "draft",
7
- method: "ready",
8
- params: {
9
- path: ".pinokio/draft",
10
- content: "post.md",
11
- publish: {
12
- target: "registry",
13
- type: "post",
14
- parent: {
15
- type: "app",
16
- url: "{{args.url || ''}}"
17
- }
18
- }
19
- }
20
- }],
21
- run: [{
22
- when: "{{platform === 'win32'}}",
23
- id: "run",
24
- method: "shell.run",
25
- params: {
26
- shell: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}",
27
- conda: {
28
- skip: true
29
- },
30
- env: {
31
- CLAUDE_CODE_GIT_BASH_PATH: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}"
32
- },
33
- message: {
34
- _: [
35
- "npx",
36
- "-y",
37
- "@anthropic-ai/claude-code@latest",
38
- "{{args.prompt || undefined}}"
39
- ]
40
- },
41
- path: "{{args.cwd}}",
42
- input: true,
43
- buffer: 1024
44
- }
45
- }, {
46
- when: "{{platform !== 'win32'}}",
47
- id: "run",
48
- method: "shell.run",
49
- params: {
50
- message: {
51
- _: [
52
- "npx",
53
- "-y",
54
- "@anthropic-ai/claude-code@latest",
55
- "{{args.prompt || undefined}}"
56
- ]
57
- },
58
- path: "{{args.cwd}}",
59
- input: true,
60
- buffer: 1024
61
- }
62
- }]
63
- }
@@ -1,74 +0,0 @@
1
- module.exports = {
2
- title: "Claude Code Auto",
3
- icon: "claude.png",
4
- description: "Claude Code with trusted workspace and bypass permissions prompts skipped.",
5
- link: "https://www.anthropic.com/claude-code",
6
- watch: [{
7
- handler: "draft",
8
- method: "ready",
9
- params: {
10
- path: ".pinokio/draft",
11
- content: "post.md",
12
- publish: {
13
- target: "registry",
14
- type: "post",
15
- parent: {
16
- type: "app",
17
- url: "{{args.url || ''}}"
18
- }
19
- }
20
- }
21
- }],
22
- run: [{
23
- when: "{{platform === 'win32'}}",
24
- id: "run",
25
- method: "shell.run",
26
- params: {
27
- shell: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}",
28
- conda: {
29
- skip: true
30
- },
31
- env: {
32
- CLAUDE_CODE_GIT_BASH_PATH: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}",
33
- CLAUBBIT: "true"
34
- },
35
- message: {
36
- _: [
37
- "npx",
38
- "-y",
39
- "@anthropic-ai/claude-code@latest",
40
- "--settings",
41
- "{\"skipDangerousModePermissionPrompt\":true}",
42
- "--dangerously-skip-permissions",
43
- "{{args.prompt || undefined}}"
44
- ]
45
- },
46
- path: "{{args.cwd}}",
47
- input: true,
48
- buffer: 1024
49
- }
50
- }, {
51
- when: "{{platform !== 'win32'}}",
52
- id: "run",
53
- method: "shell.run",
54
- params: {
55
- env: {
56
- CLAUBBIT: "true"
57
- },
58
- message: {
59
- _: [
60
- "npx",
61
- "-y",
62
- "@anthropic-ai/claude-code@latest",
63
- "--settings",
64
- "{\"skipDangerousModePermissionPrompt\":true}",
65
- "--dangerously-skip-permissions",
66
- "{{args.prompt || undefined}}"
67
- ]
68
- },
69
- path: "{{args.cwd}}",
70
- input: true,
71
- buffer: 1024
72
- }
73
- }]
74
- }
@@ -1,39 +0,0 @@
1
- module.exports = {
2
- title: "Claude Desktop",
3
- link: "https://claude.com/download",
4
- icon: "icon.jpeg",
5
- description: "Claude desktop",
6
- launch_type: "desktop",
7
- watch: [{
8
- handler: "draft",
9
- method: "ready",
10
- params: {
11
- path: ".pinokio/draft",
12
- content: "post.md",
13
- publish: {
14
- target: "registry",
15
- type: "post",
16
- parent: {
17
- type: "app",
18
- url: "{{args.url || ''}}"
19
- }
20
- }
21
- }
22
- }],
23
- run: [{
24
- method: "uri.open",
25
- params: {
26
- uri: "claude://code/new",
27
- params: {
28
- q: "{{args.prompt || ''}}",
29
- folder: "{{args.cwd || ''}}"
30
- }
31
- }
32
- }, {
33
- method: "process.wait",
34
- params: {
35
- title: "Launched",
36
- description: "Click the stop button to stop watching file changes"
37
- }
38
- }]
39
- }
Binary file
@@ -1,58 +0,0 @@
1
- module.exports = {
2
- title: "OpenAI Codex",
3
- icon: "openai.webp",
4
- link: "https://github.com/openai/codex",
5
- watch: [{
6
- handler: "draft",
7
- method: "ready",
8
- params: {
9
- path: ".pinokio/draft",
10
- content: "post.md",
11
- publish: {
12
- target: "registry",
13
- type: "post",
14
- parent: {
15
- type: "app",
16
- url: "{{args.url || ''}}"
17
- }
18
- }
19
- }
20
- }],
21
- run: [{
22
- when: "{{platform === 'win32'}}",
23
- id: "run",
24
- method: "shell.run",
25
- params: {
26
- shell: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}",
27
- conda: {
28
- skip: true
29
- },
30
- message: {
31
- _: [
32
- "npx",
33
- "-y",
34
- "@openai/codex@latest",
35
- "{{args.prompt || undefined}}"
36
- ]
37
- },
38
- path: "{{args.cwd}}",
39
- input: true
40
- }
41
- }, {
42
- when: "{{platform !== 'win32'}}",
43
- id: "run",
44
- method: "shell.run",
45
- params: {
46
- message: {
47
- _: [
48
- "npx",
49
- "-y",
50
- "@openai/codex@latest",
51
- "{{args.prompt || undefined}}"
52
- ]
53
- },
54
- path: "{{args.cwd}}",
55
- input: true
56
- }
57
- }]
58
- }
@@ -1,65 +0,0 @@
1
- module.exports = {
2
- title: "OpenAI Codex Auto",
3
- icon: "openai.webp",
4
- description: "OpenAI Codex CLI with --yolo and trusted workspace config.",
5
- link: "https://github.com/openai/codex",
6
- watch: [{
7
- handler: "draft",
8
- method: "ready",
9
- params: {
10
- path: ".pinokio/draft",
11
- content: "post.md",
12
- publish: {
13
- target: "registry",
14
- type: "post",
15
- parent: {
16
- type: "app",
17
- url: "{{args.url || ''}}"
18
- }
19
- }
20
- }
21
- }],
22
- run: [{
23
- when: "{{platform === 'win32'}}",
24
- id: "run",
25
- method: "shell.run",
26
- params: {
27
- shell: "{{kernel.path('bin/miniconda/Library/bin/bash.exe')}}",
28
- conda: {
29
- skip: true
30
- },
31
- message: {
32
- _: [
33
- "npx",
34
- "-y",
35
- "@openai/codex@latest",
36
- "--yolo",
37
- "-c",
38
- "projects={ {{JSON.stringify(args.cwd)}}={trust_level=\"trusted\"} }",
39
- "{{args.prompt || undefined}}"
40
- ]
41
- },
42
- path: "{{args.cwd}}",
43
- input: true
44
- }
45
- }, {
46
- when: "{{platform !== 'win32'}}",
47
- id: "run",
48
- method: "shell.run",
49
- params: {
50
- message: {
51
- _: [
52
- "npx",
53
- "-y",
54
- "@openai/codex@latest",
55
- "--yolo",
56
- "-c",
57
- "projects={ {{JSON.stringify(args.cwd)}}={trust_level=\"trusted\"} }",
58
- "{{args.prompt || undefined}}"
59
- ]
60
- },
61
- path: "{{args.cwd}}",
62
- input: true
63
- }
64
- }]
65
- }
@@ -1,39 +0,0 @@
1
- module.exports = {
2
- title: "Codex Desktop",
3
- link: "https://openai.com/codex",
4
- icon: "icon.png",
5
- description: "Codex Desktop",
6
- launch_type: "desktop",
7
- watch: [{
8
- handler: "draft",
9
- method: "ready",
10
- params: {
11
- path: ".pinokio/draft",
12
- content: "post.md",
13
- publish: {
14
- target: "registry",
15
- type: "post",
16
- parent: {
17
- type: "app",
18
- url: "{{args.url || ''}}"
19
- }
20
- }
21
- }
22
- }],
23
- run: [{
24
- method: "uri.open",
25
- params: {
26
- uri: "codex://new",
27
- params: {
28
- prompt: "{{args.prompt || ''}}",
29
- path: "{{args.cwd || ''}}"
30
- }
31
- }
32
- }, {
33
- method: "process.wait",
34
- params: {
35
- title: "Launched",
36
- description: "Click the stop button to stop watching file changes"
37
- }
38
- }]
39
- }
Binary file
@@ -1,31 +0,0 @@
1
- module.exports = {
2
- title: "Crush",
3
- icon: "crush.png",
4
- link: "https://github.com/charmbracelet/crush",
5
- watch: [{
6
- handler: "draft",
7
- method: "ready",
8
- params: {
9
- path: ".pinokio/draft",
10
- content: "post.md",
11
- publish: {
12
- target: "registry",
13
- type: "post",
14
- parent: {
15
- type: "app",
16
- url: "{{args.url || ''}}"
17
- }
18
- }
19
- }
20
- }],
21
- run: [{
22
- id: "run",
23
- method: "shell.run",
24
- params: {
25
- message: "npx -y @charmland/crush@latest",
26
- path: "{{args.cwd}}",
27
- buffer: 1024,
28
- input: true
29
- }
30
- }]
31
- }
Binary file
@@ -1,39 +0,0 @@
1
- module.exports = {
2
- title: "Cursor",
3
- link: "https://cursor.com",
4
- icon: "cursor.jpeg",
5
- description: "The AI Code Editor",
6
- launch_type: "desktop",
7
- watch: [{
8
- handler: "draft",
9
- method: "ready",
10
- params: {
11
- path: ".pinokio/draft",
12
- content: "post.md",
13
- publish: {
14
- target: "registry",
15
- type: "post",
16
- parent: {
17
- type: "app",
18
- url: "{{args.url || ''}}"
19
- }
20
- }
21
- }
22
- }],
23
- run: [{
24
- when: "{{which('cursor')}}",
25
- method: "exec",
26
- params: {
27
- message: "cursor .",
28
- path: "{{args.cwd}}"
29
- }
30
- }, {
31
- when: "{{!which('cursor')}}",
32
- method: "notify",
33
- params: {
34
- html: "Cursor is not installed. Click to visit the Cursor homepage to download",
35
- href: "https://cursor.com",
36
- target: "_blank"
37
- }
38
- }]
39
- }
Binary file
@@ -1,40 +0,0 @@
1
- module.exports = {
2
- title: "Gemini CLI",
3
- icon: "gemini.jpeg",
4
- link: "https://github.com/google-gemini/gemini-cli",
5
- watch: [{
6
- handler: "draft",
7
- method: "ready",
8
- params: {
9
- path: ".pinokio/draft",
10
- content: "post.md",
11
- publish: {
12
- target: "registry",
13
- type: "post",
14
- parent: {
15
- type: "app",
16
- url: "{{args.url || ''}}"
17
- }
18
- }
19
- }
20
- }],
21
- run: [{
22
- id: "run",
23
- method: "shell.run",
24
- params: {
25
- message: {
26
- _: [
27
- "npx",
28
- "-y",
29
- "@google/gemini-cli",
30
- "--include-directories",
31
- "{{kernel.path('prototype')}}",
32
- "{{args.prompt || undefined}}"
33
- ]
34
- },
35
- path: "{{args.cwd}}",
36
- buffer: 1024,
37
- input: true
38
- }
39
- }]
40
- }
@@ -1,43 +0,0 @@
1
- module.exports = {
2
- title: "Gemini CLI Auto",
3
- icon: "gemini.jpeg",
4
- description: "Gemini CLI with workspace trust and tool approvals skipped.",
5
- link: "https://github.com/google-gemini/gemini-cli",
6
- watch: [{
7
- handler: "draft",
8
- method: "ready",
9
- params: {
10
- path: ".pinokio/draft",
11
- content: "post.md",
12
- publish: {
13
- target: "registry",
14
- type: "post",
15
- parent: {
16
- type: "app",
17
- url: "{{args.url || ''}}"
18
- }
19
- }
20
- }
21
- }],
22
- run: [{
23
- id: "run",
24
- method: "shell.run",
25
- params: {
26
- message: {
27
- _: [
28
- "npx",
29
- "-y",
30
- "@google/gemini-cli",
31
- "--include-directories",
32
- "{{kernel.path('prototype')}}",
33
- "--skip-trust",
34
- "--approval-mode=yolo",
35
- "{{args.prompt || undefined}}"
36
- ]
37
- },
38
- path: "{{args.cwd}}",
39
- buffer: 1024,
40
- input: true
41
- }
42
- }]
43
- }
@@ -1,50 +0,0 @@
1
- module.exports = {
2
- title: "Qwen Code",
3
- link: "https://github.com/QwenLM/qwen-code",
4
- icon: "qwen.png",
5
- watch: [{
6
- handler: "draft",
7
- method: "ready",
8
- params: {
9
- path: ".pinokio/draft",
10
- content: "post.md",
11
- publish: {
12
- target: "registry",
13
- type: "post",
14
- parent: {
15
- type: "app",
16
- url: "{{args.url || ''}}"
17
- }
18
- }
19
- }
20
- }],
21
- env: [{
22
- key: "OPENAI_API_KEY",
23
- default: "OPENAI_API_KEY"
24
- }, {
25
- key: "OPENAI_BASE_URL",
26
- description: "use the OpenAI API compatible api endpoint",
27
- default: "http://localhost:1234/v1"
28
- }, {
29
- key: "OPENAI_MODEL",
30
- description: "the openai compatible model",
31
- default: "mradermacher/Bootes-Qwen3_Coder-Reasoning-i1-GGUF"
32
- }],
33
- run: [{
34
- id: "run",
35
- method: "shell.run",
36
- params: {
37
- message: {
38
- _: [
39
- "npx",
40
- "-y",
41
- "@qwen-code/qwen-code@latest"
42
- ],
43
- "prompt-interactive": "{{args.prompt || undefined}}"
44
- },
45
- path: "{{args.cwd}}",
46
- buffer: 1024,
47
- input: true
48
- }
49
- }]
50
- }
Binary file
@@ -1,36 +0,0 @@
1
- module.exports = {
2
- title: "VS Code",
3
- link: "https://code.visualstudio.com/",
4
- icon: "vscode.png",
5
- description: "The AI Code Editor",
6
- watch: [{
7
- handler: "draft",
8
- method: "ready",
9
- params: {
10
- path: ".pinokio/draft",
11
- content: "post.md",
12
- publish: {
13
- target: "registry",
14
- type: "post",
15
- parent: {
16
- type: "app",
17
- url: "{{args.url || ''}}"
18
- }
19
- }
20
- }
21
- }],
22
- run: [{
23
- when: "{{which('code')}}",
24
- method: "exec",
25
- params: {
26
- message: "code .",
27
- path: "{{args.cwd}}",
28
- }
29
- }, {
30
- method: "process.wait",
31
- params: {
32
- title: "Launched",
33
- description: "Click the stop button to stop watching file changes"
34
- }
35
- }]
36
- }
Binary file