@pagelines/sdk 1.0.836 → 1.0.838

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 CHANGED
@@ -246,7 +246,6 @@ if (!agent) {
246
246
  import { PageLinesSDK } from '@pagelines/sdk'
247
247
  import { AgentChat, AgentProvider } from '@pagelines/sdk/agent'
248
248
  import { PLWidget } from '@pagelines/sdk/widget'
249
- import { getDemoAgents } from '@pagelines/sdk/demo'
250
249
 
251
250
  // ❌ Wrong - Deep imports don't work
252
251
  import { PageLinesSDK } from '@pagelines/sdk/PageLinesSDK'
@@ -269,10 +268,6 @@ import AgentChat from '@pagelines/sdk/agent/ui/AgentChat.vue'
269
268
  "./widget": {
270
269
  "import": "./dist/widget.js",
271
270
  "types": "./dist/widget.d.ts"
272
- },
273
- "./demo": {
274
- "import": "./dist/demo.js",
275
- "types": "./dist/demo/index.d.ts"
276
271
  }
277
272
  }
278
273
  }
@@ -376,22 +371,6 @@ const agent = await sdk.getPublicAgent({ handle: 'andrew' })
376
371
  **ElAgentVoice** - Voice call interface
377
372
  **ElAgentSidebar** - Navigation sidebar
378
373
 
379
- ## Demo Data
380
-
381
- Static demo agents for marketing/showcase.
382
-
383
- ```typescript
384
- import { getDemoAgents, getDemoAgentByHandle } from '@pagelines/sdk/demo'
385
-
386
- // All demo agents
387
- const demoAgents = getDemoAgents()
388
-
389
- // Specific demo agent
390
- const andrew = getDemoAgentByHandle('andrew')
391
- ```
392
-
393
- **Single Source of Truth**: Demo data maintained in PageLines app at `src/modules/agent/static/data.ts`, bundled into SDK at build time.
394
-
395
374
  ## Security Model
396
375
 
397
376
  **Public-Only Access**: `getPublicAgent()` and `getAgentByEmail()` only return agents with `visibility: 'public'`.