@personize/sdk 0.5.0 → 0.5.1
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/README.md +4 -63
- package/dist/types.d.ts +6 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -346,69 +346,10 @@ const client = new Personize({
|
|
|
346
346
|
|
|
347
347
|
## Skills
|
|
348
348
|
|
|
349
|
-
|
|
349
|
+
AI-assistant skills for Claude Code, Codex, and Cursor are available separately:
|
|
350
350
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
Build CRM/database sync integrations. Connect Salesforce, HubSpot, Postgres, or any data source to Personize memory with batch memorization and scheduled deployment.
|
|
354
|
-
|
|
355
|
-
```
|
|
356
|
-
skills/integrations/
|
|
357
|
-
├── CLAUDE.md # Main skill instructions
|
|
358
|
-
├── templates/
|
|
359
|
-
│ ├── salesforce.md # Salesforce connector pattern
|
|
360
|
-
│ ├── hubspot.md # HubSpot connector pattern
|
|
361
|
-
│ └── postgres.md # Postgres/MySQL pattern
|
|
362
|
-
└── deploy/
|
|
363
|
-
├── Dockerfile # Container deployment
|
|
364
|
-
├── render.yaml # Render cron service
|
|
365
|
-
└── github-action.yml # GitHub Actions schedule
|
|
366
|
-
```
|
|
367
|
-
|
|
368
|
-
### Governance (`skills/governance/`)
|
|
369
|
-
|
|
370
|
-
Manage guidelines as code — maintain a `governance/guidelines/` folder of `.md` files and sync them to the Personize API.
|
|
371
|
-
|
|
372
|
-
```
|
|
373
|
-
skills/governance/
|
|
374
|
-
├── CLAUDE.md # Main skill instructions
|
|
375
|
-
├── sync.ts # CLI sync script
|
|
376
|
-
└── github-action.yml # CI sync on push
|
|
377
|
-
```
|
|
378
|
-
|
|
379
|
-
### AI Content Pipelines (`skills/content-pipelines/`)
|
|
380
|
-
|
|
381
|
-
Build intelligent, memory-powered AI systems that follow a 10-step agentic loop: **Observe → Remember → Recall → Reason → Plan → Decide → Generate → Act → Update → Repeat**. Includes ready-to-run recipe scripts for product intelligence memorization, smart notifications, web page personalization, cold outreach, and more — plus channel delivery templates for SendGrid, Slack, Twilio, and generic webhooks.
|
|
382
|
-
|
|
383
|
-
```
|
|
384
|
-
skills/content-pipelines/
|
|
385
|
-
├── CLAUDE.md # Main skill instructions (10-step loop)
|
|
386
|
-
├── recipes/
|
|
387
|
-
│ ├── product-intelligence.ts # Memorize everything: usage, ML, searches, content, uploads, telemetry
|
|
388
|
-
│ ├── smart-notification.ts # Uniquely personalized alerts via smartDigest
|
|
389
|
-
│ ├── web-personalization.ts # AI generates UI variable values for personalized web pages
|
|
390
|
-
│ ├── cold-outreach-sequence.ts # 3-email cold outreach with sequence tracking
|
|
391
|
-
│ ├── meeting-prep-brief.ts # On-demand meeting prep brief generator
|
|
392
|
-
│ ├── product-usage-alert.ts # Usage monitoring + smart alerts
|
|
393
|
-
│ ├── health-check-message.ts # Customer health assessment + check-in
|
|
394
|
-
│ └── batch-pipeline.ts # Configurable generic batch pipeline
|
|
395
|
-
└── channels/
|
|
396
|
-
├── sendgrid.md # Email delivery (SendGrid, SES, Resend)
|
|
397
|
-
├── slack.md # Slack webhooks + Web API
|
|
398
|
-
├── twilio.md # SMS + WhatsApp via Twilio
|
|
399
|
-
└── webhook.md # Generic HTTP POST (in-app, CRM, Zapier)
|
|
351
|
+
```bash
|
|
352
|
+
npx skills add personizeai/personize-skills --all
|
|
400
353
|
```
|
|
401
354
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
Generate importable n8n workflow JSON files that sync data between Personize and 400+ apps — no code required. Supports batch sync in (source → Personize), sync out (Personize → destination), webhook-triggered real-time ingestion, and per-record AI enrichment.
|
|
405
|
-
|
|
406
|
-
```
|
|
407
|
-
skills/n8n-workflows/
|
|
408
|
-
├── CLAUDE.md # Main skill instructions
|
|
409
|
-
└── templates/
|
|
410
|
-
├── hubspot-to-personize.json # HubSpot contacts → Personize
|
|
411
|
-
├── gsheets-to-personize.json # Google Sheets → Personize
|
|
412
|
-
├── webhook-to-personize.json # Webhook → Personize (real-time)
|
|
413
|
-
└── personize-to-slack.json # Personize → Slack digest
|
|
414
|
-
```
|
|
355
|
+
See [personizeai/personize-skills](https://github.com/personizeai/personize-skills) for the full catalog.
|
package/dist/types.d.ts
CHANGED
|
@@ -393,6 +393,12 @@ export interface PromptOptions {
|
|
|
393
393
|
provider?: string;
|
|
394
394
|
context?: string;
|
|
395
395
|
sessionId?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Multimodal attachments (images, PDFs, documents).
|
|
398
|
+
* Max 10 attachments, 20 MB per attachment, 50 MB total.
|
|
399
|
+
* In multi-step mode, attachments are sent with the first instruction only.
|
|
400
|
+
*/
|
|
401
|
+
attachments?: PromptAttachment[];
|
|
396
402
|
/**
|
|
397
403
|
* Evaluation configuration.
|
|
398
404
|
* - `true` — server-side auto-evaluation with default criteria
|
|
@@ -414,16 +420,6 @@ export interface PromptOptions {
|
|
|
414
420
|
};
|
|
415
421
|
/** Per-MCP tool selection override (allowlist or denylist per MCP) */
|
|
416
422
|
mcpTools?: McpToolSelection[];
|
|
417
|
-
/**
|
|
418
|
-
* Images or documents to send with the prompt (multimodal input).
|
|
419
|
-
*
|
|
420
|
-
* In multi-step mode (`instructions`), attachments are sent with the
|
|
421
|
-
* **first instruction** only — subsequent steps reference them via
|
|
422
|
-
* conversation history.
|
|
423
|
-
*
|
|
424
|
-
* Limits: max 10 attachments, 20 MB each, 50 MB total.
|
|
425
|
-
*/
|
|
426
|
-
attachments?: Attachment[];
|
|
427
423
|
}
|
|
428
424
|
/** Prompt response when outputs/evaluation are used. */
|
|
429
425
|
export interface PromptResponse {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@personize/sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Official Personize SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "https://github.com/
|
|
21
|
+
"url": "https://github.com/personizeai/personize-sdk.git"
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://personize.ai",
|
|
24
24
|
"bugs": {
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/personizeai/personize-sdk/issues"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
28
|
"personize",
|