@palettelab/cli 0.3.71 → 0.3.73

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 (34) hide show
  1. package/README.md +50 -12
  2. package/backend-sdk/palette_sdk/__init__.py +3 -1
  3. package/backend-sdk/palette_sdk/manifest.py +2 -2
  4. package/backend-sdk/palette_sdk/platform_services.py +254 -1
  5. package/backend-sdk/palette_sdk/plugin_context.py +8 -0
  6. package/backend-sdk/pyproject.toml +1 -1
  7. package/docs/python-backend-sdk.md +51 -4
  8. package/lib/agent-client.js +0 -9
  9. package/lib/bundler.js +32 -1
  10. package/lib/cli.js +7 -2
  11. package/lib/commands/agent.js +1 -102
  12. package/lib/commands/build.js +27 -12
  13. package/lib/commands/categories.js +25 -0
  14. package/lib/commands/check.js +1 -1
  15. package/lib/commands/doctor.js +2 -1
  16. package/lib/commands/platform.js +3 -2
  17. package/lib/commands/publish.js +7 -0
  18. package/lib/css-scope.js +90 -18
  19. package/lib/dev-simulator.js +8 -0
  20. package/lib/manifest.js +11 -1
  21. package/lib/migration_lint.py +128 -0
  22. package/package.json +1 -1
  23. package/template-fallback/README.md +2 -2
  24. package/template-fallback/package.json +1 -1
  25. package/template-fallback/templates/agent-tool/palette-plugin.json +1 -1
  26. package/template-fallback/templates/consumer-app/package.json +1 -1
  27. package/template-fallback/templates/dashboard/package.json +1 -1
  28. package/template-fallback/templates/database/package.json +1 -1
  29. package/template-fallback/templates/external-service/package.json +1 -1
  30. package/template-fallback/templates/external-service/palette-plugin.json +1 -1
  31. package/template-fallback/templates/frontend-only/package.json +1 -1
  32. package/template-fallback/templates/next/package.json +1 -1
  33. package/template-fallback/templates/palette-app/package.json +1 -1
  34. package/template-fallback/templates/provider-app/package.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@palettelab/cli",
3
- "version": "0.3.71",
3
+ "version": "0.3.73",
4
4
  "description": "Developer CLI for building Palette platform plugins — no platform source access required.",
5
5
  "bin": {
6
6
  "pltt": "bin/pltt.js"
@@ -9,8 +9,8 @@ pltt package --json
9
9
  ```
10
10
 
11
11
  See what the platform already gives your app before adding an API key or a
12
- dependency — models, fal.ai media, web search, storage, vector and redis are all
13
- available through `ctx.*` on the platform's own credentials:
12
+ dependency — models, fal.ai media, web search, email, storage, vector and redis
13
+ are all available through `ctx.*` on the platform's own credentials:
14
14
 
15
15
  ```bash
16
16
  pltt platform list # every service + a snippet, and its pltt dev mode
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "description": "A Palette platform plugin",
6
6
  "dependencies": {
7
- "@palettelab/sdk": "^0.1.37"
7
+ "@palettelab/sdk": "^0.1.38"
8
8
  },
9
9
  "devDependencies": {
10
10
  "typescript": "^5.0.0",
@@ -5,7 +5,7 @@
5
5
  "name": "My Agent Tool",
6
6
  "version": "1.0.0",
7
7
  "developer": "Your Team",
8
- "category": "Agents",
8
+ "category": "Productivity",
9
9
  "tagline": "A tool an agent can call",
10
10
  "description": "Registers a callable tool that any agent in the org can invoke.",
11
11
  "icon": "Toolbox",
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@palettelab/sdk": "^0.1.37",
5
+ "@palettelab/sdk": "^0.1.38",
6
6
  "react": "^19.0.0",
7
7
  "react-dom": "^19.0.0"
8
8
  }
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@palettelab/sdk": "^0.1.37",
6
+ "@palettelab/sdk": "^0.1.38",
7
7
  "react": "^19.0.0"
8
8
  }
9
9
  }
@@ -2,5 +2,5 @@
2
2
  "name": "my-db-plugin",
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
- "dependencies": { "@palettelab/sdk": "^0.1.37", "react": "^19.0.0" }
5
+ "dependencies": { "@palettelab/sdk": "^0.1.38", "react": "^19.0.0" }
6
6
  }
@@ -2,5 +2,5 @@
2
2
  "name": "my-external-svc",
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
- "dependencies": { "@palettelab/sdk": "^0.1.37", "react": "^19.0.0" }
5
+ "dependencies": { "@palettelab/sdk": "^0.1.38", "react": "^19.0.0" }
6
6
  }
@@ -5,7 +5,7 @@
5
5
  "name": "My External Service",
6
6
  "version": "1.0.0",
7
7
  "developer": "Your Team",
8
- "category": "Integrations",
8
+ "category": "Productivity",
9
9
  "tagline": "Calls a third-party API",
10
10
  "description": "Demonstrates declared external_network access and a scoped per-org config token.",
11
11
  "icon": "CloudArrowUp",
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@palettelab/sdk": "^0.1.37",
6
+ "@palettelab/sdk": "^0.1.38",
7
7
  "react": "^19.0.0"
8
8
  }
9
9
  }
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@palettelab/sdk": "^0.1.37",
6
+ "@palettelab/sdk": "^0.1.38",
7
7
  "react": "^19.0.0"
8
8
  },
9
9
  "devDependencies": {
@@ -3,7 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "private": true,
5
5
  "dependencies": {
6
- "@palettelab/sdk": "^0.1.37",
6
+ "@palettelab/sdk": "^0.1.38",
7
7
  "react": "^19.0.0"
8
8
  },
9
9
  "devDependencies": {
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@palettelab/sdk": "^0.1.37",
5
+ "@palettelab/sdk": "^0.1.38",
6
6
  "react": "^19.0.0"
7
7
  }
8
8
  }