@picked/client 0.0.83 → 0.0.84-next.2
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/dist/.tsbuildinfo +1 -1
- package/dist/api-BpE3VU63.cjs +1 -0
- package/dist/{api-C7k-sqTX.js → api-Cur_xnAf.js} +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/plugins/dynamic-experiences/index.js +1 -1
- package/dist/cjs/plugins/experience-browser-storage/index.js +1 -1
- package/dist/cjs/server/index.js +1 -1
- package/dist/docs/reference/sdk/analytics-events.md +11 -2
- package/dist/docs/reference/sdk/ssr/slots-and-placements.md +54 -0
- package/dist/docs/reference/tools/mcp.md +38 -31
- package/dist/esm/index.js +377 -399
- package/dist/esm/plugins/dynamic-experiences/index.js +2 -2
- package/dist/esm/plugins/experience-browser-storage/index.js +12 -10
- package/dist/esm/server/index.js +40 -36
- package/dist/experience-instance-DifOgdCW.cjs +1 -0
- package/dist/{experience-instance-BibCf-8y.js → experience-instance-VZQBpVEW.js} +265 -239
- package/dist/{plugin-Ch3nd-iX.js → plugin-BuyAO6JE.js} +68 -52
- package/dist/plugin-Yf4me2Nm.cjs +1 -0
- package/dist/preview-unavailable-CY23cDO-.cjs +1 -0
- package/dist/{version-COZoqJaS.js → preview-unavailable-EL7XtSOv.js} +104 -61
- package/dist/{provider-URanKqBl.js → provider-CVGDO2eV.js} +6 -3
- package/dist/provider-DRB8eke6.cjs +1 -0
- package/dist/types/data-source/preview-unavailable.d.ts +18 -0
- package/dist/types/data-source/preview-unavailable.d.ts.map +1 -0
- package/dist/types/data-source/provider.d.ts +5 -0
- package/dist/types/data-source/provider.d.ts.map +1 -1
- package/dist/types/entities/experience-instance/experience-instance.d.ts +14 -1
- package/dist/types/entities/experience-instance/experience-instance.d.ts.map +1 -1
- package/dist/types/exports.d.ts +1 -0
- package/dist/types/exports.d.ts.map +1 -1
- package/dist/types/picked.d.ts +7 -0
- package/dist/types/picked.d.ts.map +1 -1
- package/dist/types/plugins/dynamic-experiences/plugin.d.ts.map +1 -1
- package/dist/types/plugins/experience-browser-storage/plugin.d.ts.map +1 -1
- package/dist/types/server/serialize.d.ts +1 -0
- package/dist/types/server/serialize.d.ts.map +1 -1
- package/dist/types/utils/events.d.ts +4 -0
- package/dist/types/utils/events.d.ts.map +1 -1
- package/dist/types/utils/search-params.d.ts +20 -0
- package/dist/types/utils/search-params.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/api-CSANsJg3.cjs +0 -1
- package/dist/experience-instance-CMfjyLaI.cjs +0 -1
- package/dist/plugin-ByOn3B0I.cjs +0 -1
- package/dist/provider-CxjhDODz.cjs +0 -1
- package/dist/version-BlPyWs4m.cjs +0 -1
|
@@ -12,57 +12,64 @@ Context Protocol (MCP).
|
|
|
12
12
|
|
|
13
13
|
### Discovery
|
|
14
14
|
|
|
15
|
-
| Tool | Description
|
|
16
|
-
| ------------------------ |
|
|
17
|
-
| `list_projects` | Lists your organizations and projects
|
|
18
|
-
| `list_workspaces` | Lists the workspaces in a project
|
|
19
|
-
| `get_workspace_overview` | Reads the
|
|
15
|
+
| Tool | Description |
|
|
16
|
+
| ------------------------ | -------------------------------------------------------------- |
|
|
17
|
+
| `list_projects` | Lists your organizations and projects |
|
|
18
|
+
| `list_workspaces` | Lists the workspaces in a project |
|
|
19
|
+
| `get_workspace_overview` | Reads the live version and the workspace draft |
|
|
20
20
|
| `get_schema_info` | Reads the documentation for Picked concepts and the data model |
|
|
21
|
-
| `list_picked_docs` | Lists every Picked documentation page with its URL
|
|
22
|
-
| `read_picked_doc` | Reads one documentation page, or one section of it
|
|
21
|
+
| `list_picked_docs` | Lists every Picked documentation page with its URL |
|
|
22
|
+
| `read_picked_doc` | Reads one documentation page, or one section of it |
|
|
23
23
|
|
|
24
24
|
### Experiences
|
|
25
25
|
|
|
26
|
-
| Tool | Description
|
|
27
|
-
| ------------------------ |
|
|
28
|
-
| `create_experience` | Creates an experience
|
|
29
|
-
| `get_experience` | Reads an experience, with its flow graph
|
|
30
|
-
| `list_experiences` | Lists your experiences
|
|
26
|
+
| Tool | Description |
|
|
27
|
+
| ------------------------ | -------------------------------------------------------------------------------------------------- |
|
|
28
|
+
| `create_experience` | Creates an experience |
|
|
29
|
+
| `get_experience` | Reads an experience, with its flow graph |
|
|
30
|
+
| `list_experiences` | Lists your experiences |
|
|
31
31
|
| `update_experience_flow` | Creates, updates, or deletes steps, conditions, actions, fields, nodes, and edges as one operation |
|
|
32
32
|
|
|
33
33
|
### Steps, fields, conditions, and actions
|
|
34
34
|
|
|
35
|
-
| Tool | Description
|
|
36
|
-
| ----------------------------------- |
|
|
37
|
-
| `get_step` / `list_steps` | Read steps
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
35
|
+
| Tool | Description |
|
|
36
|
+
| ----------------------------------- | ---------------------------------------------------------------- |
|
|
37
|
+
| `get_step` / `list_steps` | Read steps |
|
|
38
|
+
| `update_step` | Renames a step, or binds it to the content entry that it renders |
|
|
39
|
+
| `get_field` / `list_fields` | Read fields |
|
|
40
|
+
| `get_condition` / `list_conditions` | Read conditions |
|
|
41
|
+
| `get_action` / `list_actions` | Read actions |
|
|
41
42
|
|
|
42
43
|
### Feature flags
|
|
43
44
|
|
|
44
|
-
| Tool | Description
|
|
45
|
-
| ---------------- |
|
|
46
|
-
| `create_feature` | Creates a feature flag
|
|
47
|
-
| `get_feature` | Reads a feature flag
|
|
48
|
-
| `list_features` | Lists your feature flags
|
|
49
|
-
| `update_feature` | Updates the name, description, state, or weight
|
|
45
|
+
| Tool | Description |
|
|
46
|
+
| ---------------- | ----------------------------------------------- |
|
|
47
|
+
| `create_feature` | Creates a feature flag |
|
|
48
|
+
| `get_feature` | Reads a feature flag |
|
|
49
|
+
| `list_features` | Lists your feature flags |
|
|
50
|
+
| `update_feature` | Updates the name, description, state, or weight |
|
|
50
51
|
|
|
51
52
|
### Analytics
|
|
52
53
|
|
|
53
|
-
| Tool | Description
|
|
54
|
-
| ---------------- |
|
|
55
|
-
| `query_pickedql` | Runs a PickedQL analytics query and returns the rows as a table
|
|
54
|
+
| Tool | Description |
|
|
55
|
+
| ---------------- | --------------------------------------------------------------- |
|
|
56
|
+
| `query_pickedql` | Runs a PickedQL analytics query and returns the rows as a table |
|
|
56
57
|
|
|
57
58
|
Call `get_schema_info` with the topic `pickedql` to see the tables, the virtual
|
|
58
59
|
functions, and the dimension columns before you write a query.
|
|
59
60
|
|
|
60
61
|
### Publish
|
|
61
62
|
|
|
62
|
-
| Tool
|
|
63
|
-
|
|
|
64
|
-
| `get_preview_url`
|
|
65
|
-
| `publish_workspace`
|
|
63
|
+
| Tool | Description |
|
|
64
|
+
| ---------------------------- | ---------------------------------------------------------------------- |
|
|
65
|
+
| `get_preview_url` | Makes a preview URL for your unpublished work |
|
|
66
|
+
| `publish_workspace` | Publishes the workspace |
|
|
67
|
+
| `list_workspace_versions` | Lists the published versions of a project, and shows the live one |
|
|
68
|
+
| `compare_workspace_versions` | Shows the differences between the live version, a version, and a draft |
|
|
69
|
+
|
|
70
|
+
The `list_*` and `get_*` tools read the workspace draft. The draft can be
|
|
71
|
+
different from the live version that visitors see. Use
|
|
72
|
+
`compare_workspace_versions` to see what is live and what changes when you publish.
|
|
66
73
|
|
|
67
74
|
## Example prompts
|
|
68
75
|
|