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