@amityco/social-plus-vise 0.14.15 → 0.14.16

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/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ All notable changes to `@amityco/social-plus-vise` are documented in this file.
4
4
 
5
5
  The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 0.14.16 — 2026-06-05
8
+
9
+ ### Changed
10
+ - **Android poll composer guidance:** feed-forward guidance now prefers Android's dedicated `createPollPost(targetType, targetId, pollId, ...)` API instead of the deprecated `createPost().poll(pollId)` builder path.
11
+ - **Repeatable host-agent smoke:** agent-flow coverage now creates an Android temp app and runs the full manual loop: design extract, plan question surfacing, answered init, validate, check, sync, and real Gradle sensor execution through a lightweight wrapper.
12
+
13
+ ### Fixed
14
+ - **Native optional post edit sensor:** selected `post-edit` now recognizes Android member-chain usage such as `newPostRepository().editPost(...)`.
15
+ - **Non-UI subscription precision:** `*.feed.ui-states-present` no longer treats Application-level setup/login subscriptions as feed collection rendering that needs loading/empty/error UI states.
16
+
17
+ ### Verified
18
+ - Focused capability/native-idiom tests and the expanded agent-flow smoke pass. The real `music-player-android` smoke app validates cleanly, checks green, and runs Android assemble/tests without the prior deprecated `createPost()` warning.
19
+
7
20
  ## 0.14.15 — 2026-06-05
8
21
 
9
22
  ### Fixed
@@ -410,7 +410,7 @@ export const OPTIONAL_CAPABILITIES = [
410
410
  },
411
411
  { label: "PollRepository.votePoll", regex: /PollRepository\.votePoll\s*\(|(?<![\w])votePoll\s*\(/ },
412
412
  ],
413
- hint: "If the user opts into polls, implement the platform poll creation -> poll post linking chain, for example createPoll -> createPost({ data: { pollId } }) on TypeScript or createPost().poll(pollId) / createPollPost on native SDKs, plus the votePoll read-side interaction.",
413
+ hint: "If the user opts into polls, implement the platform poll creation -> poll post linking chain, for example createPoll -> createPost({ data: { pollId } }) on TypeScript or createPollPost(targetType, targetId, pollId, ...) on Android/native SDKs, plus the votePoll read-side interaction.",
414
414
  },
415
415
  {
416
416
  id: "post-edit",
@@ -421,7 +421,7 @@ export const OPTIONAL_CAPABILITIES = [
421
421
  { label: "SDK post edit/update", symbols: [/\beditPost\b/i, /\bupdatePost\b/i, /\beditTextPost\b/i] },
422
422
  ],
423
423
  sensors: [
424
- { label: "PostRepository.editPost", regex: /PostRepository\.editPost\s*\(|(?<![.\w])editPost\s*\(/ },
424
+ { label: "PostRepository.editPost", regex: /PostRepository\.editPost\s*\(|\.editPost\s*\(|(?<![.\w])editPost\s*\(/ },
425
425
  ],
426
426
  hint: "If the user opts into author management, show edit only for post.postedUserId === currentUserId and call PostRepository.editPost with updated text data.",
427
427
  },
package/dist/outcomes.js CHANGED
@@ -629,7 +629,7 @@ const addFeed = {
629
629
  evidence: ["social-plus-sdk/social/content-management/posts/creation/poll-post"],
630
630
  },
631
631
  {
632
- step: "If the post composer supports poll creation, implement the two-step creation chain: (1) create the poll with the platform SDK poll repository — returns a Poll/pollId; (2) link that poll into a post with the platform post builder, for example `PostRepository.createPost({ targetType, targetId, data: { text: '', pollId } })` on TypeScript/React Native or `createPost().poll(pollId)` / `createPollPost(...)` on native SDKs. Rendering poll answers (votePoll/unvotePoll) is the read-side; without both creation steps the poll composer silently does nothing. Offer a dedicated poll-builder UI (question input + dynamic answer list) so users can author polls inline.",
632
+ step: "If the post composer supports poll creation, implement the two-step creation chain: (1) create the poll with the platform SDK poll repository — returns a Poll/pollId; (2) link that poll into a post with the platform post builder, for example `PostRepository.createPost({ targetType, targetId, data: { text: '', pollId } })` on TypeScript/React Native or Android's dedicated `createPollPost(targetType, targetId, pollId, text, ...)` API. Rendering poll answers (votePoll/unvotePoll) is the read-side; without both creation steps the poll composer silently does nothing. Offer a dedicated poll-builder UI (question input + dynamic answer list) so users can author polls inline.",
633
633
  evidence: [
634
634
  "social-plus-sdk/social/content-management/posts/creation/poll-post",
635
635
  "social-plus-sdk/social/posts",
@@ -754,6 +754,9 @@ function validateFeedUiStates(root, platform, sourceContent) {
754
754
  return [];
755
755
  }
756
756
  for (const [file, content] of sourceContent) {
757
+ if (isNonUiSourceFile(file)) {
758
+ continue;
759
+ }
757
760
  const observes = observationPatterns.some((pattern) => pattern.test(content));
758
761
  if (!observes) {
759
762
  continue;
@@ -2526,7 +2529,7 @@ function isNonUiSourceFile(filename) {
2526
2529
  // PascalCase class-named files (Swift, Kotlin, TS): suffix match. Note "Controller"
2527
2530
  // and "View(Model)" are deliberately absent — iOS ViewControllers/SwiftUI Views DO
2528
2531
  // render and must keep firing.
2529
- if (/(?:Manager|Repository|Repo|Service|DataSource|Datasource|Provider|Client|Store|Mapper|Interactor|UseCase|Bloc|Cubit|Notifier|Mock|Fake|Stub|Test|Tests|Spec)$/.test(base))
2532
+ if (/(?:Application|Manager|Repository|Repo|Service|DataSource|Datasource|Provider|Client|Store|Mapper|Interactor|UseCase|Bloc|Cubit|Notifier|Mock|Fake|Stub|Test|Tests|Spec)$/.test(base))
2530
2533
  return true;
2531
2534
  // snake_case files (Dart, sometimes RN): same non-UI layers, plus Flutter's BLoC /
2532
2535
  // Cubit / ChangeNotifier state-management layers. "_page"/"_popup"/"_screen" are UI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/social-plus-vise",
3
- "version": "0.14.15",
3
+ "version": "0.14.16",
4
4
  "description": "Skill-guided deterministic CLI for social.plus SDK integration assistance.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",